diff options
author | rsc <devnull@localhost> | 2007-04-22 13:54:53 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2007-04-22 13:54:53 +0000 |
commit | e6594f1a04b2b1f3d0c0e5653c27b5de789c522b (patch) | |
tree | a69b00bbb5a368fef74ba2af34fb8e30de9bf6e6 /src | |
parent | d0648192ab892f41213db3a3d92b0619de995e3d (diff) | |
download | plan9port-e6594f1a04b2b1f3d0c0e5653c27b5de789c522b.tar.gz plan9port-e6594f1a04b2b1f3d0c0e5653c27b5de789c522b.tar.bz2 plan9port-e6594f1a04b2b1f3d0c0e5653c27b5de789c522b.zip |
quieter
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/venti/srv/syncarena.c | 23 | ||||
-rw-r--r-- | src/cmd/venti/srv/syncindex0.c | 2 |
2 files changed, 12 insertions, 13 deletions
diff --git a/src/cmd/venti/srv/syncarena.c b/src/cmd/venti/srv/syncarena.c index be950e95..fe2c7814 100644 --- a/src/cmd/venti/srv/syncarena.c +++ b/src/cmd/venti/srv/syncarena.c @@ -131,21 +131,22 @@ syncarena(Arena *arena, u64int start, u32int n, int zok, int fix) flushdcache(); } -fprint(2, "arena %s: start=%lld fix=%d flush=%d %lld->%lld %ud->%ud %ud->%ud %lld->%lld\n", - arena->name, - start, - fix, - flush, - used, arena->memstats.used, - clumps, arena->memstats.clumps, - cclumps, arena->memstats.cclumps, - uncsize, arena->memstats.uncsize); - if(used != arena->memstats.used || clumps != arena->memstats.clumps || cclumps != arena->memstats.cclumps - || uncsize != arena->memstats.uncsize) + || uncsize != arena->memstats.uncsize){ err |= SyncHeader; + fprint(2, "arena %s: start=%lld fix=%d flush=%d %lld->%lld %ud->%ud %ud->%ud %lld->%lld\n", + arena->name, + start, + fix, + flush, + used, arena->memstats.used, + clumps, arena->memstats.clumps, + cclumps, arena->memstats.cclumps, + uncsize, arena->memstats.uncsize); + } + return err; } diff --git a/src/cmd/venti/srv/syncindex0.c b/src/cmd/venti/srv/syncindex0.c index 1a6aa7d3..6a008bad 100644 --- a/src/cmd/venti/srv/syncindex0.c +++ b/src/cmd/venti/srv/syncindex0.c @@ -157,12 +157,10 @@ syncindex(Index *ix, int fix, int mustflush, int check) fix, &flush, check); if(ok1 < 0) fprint(2, "syncarenaindex: %r\n"); -fprint(2, "arena %s: wbarena in syncindex\n", arena->name); if(fix && ok1==0 && (e & SyncHeader) && wbarena(arena) < 0) fprint(2, "arena=%s header write failed: %r\n", arena->name); ok |= ok1; -fprint(2, "arena %s: setdcachestate\n", arena->name); as.arena = arena; as.aa = ix->amap[i].start + arena->memstats.used; as.stats = arena->memstats; |