diff options
Diffstat (limited to 'libglusterfs/src/monitoring.c')
| -rw-r--r-- | libglusterfs/src/monitoring.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/libglusterfs/src/monitoring.c b/libglusterfs/src/monitoring.c index 25103867e24..62738c79e74 100644 --- a/libglusterfs/src/monitoring.c +++ b/libglusterfs/src/monitoring.c @@ -81,7 +81,8 @@ dump_latency_and_count (xlator_t *xl, int fd)          uint64_t cbk;          uint64_t count; -        dprintf (fd, "%s.total.winds.count %lu\n", xl->name, xl->winds); +        if (xl->winds) +                dprintf (fd, "%s.total.pending-winds.count %lu\n", xl->name, xl->winds);          /* Need 'fuse' data, and don't need all the old graph info */          if ((xl != xl->ctx->master) && (xl->ctx->active != xl->graph))  | 
