diff options
Diffstat (limited to 'src/cmd/venti/srv/syncarena.c')
-rw-r--r-- | src/cmd/venti/srv/syncarena.c | 23 |
1 files changed, 12 insertions, 11 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; } |