diff options
author | Anand Avati <avati@gluster.com> | 2010-03-04 04:00:53 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-03-04 02:04:16 -0800 |
commit | 631f413ab484849ca15e094ac97e49c411b8a1a6 (patch) | |
tree | 2e257a7ccc983092a38f5baebe6d73091f9f4fc2 /xlators/cluster/afr/src/afr-dir-read.h | |
parent | f89c82f71f581faaf5ee45b4d08c8fe422fe2fd7 (diff) |
io-stats: new counters
Add new counters and statistics for:
a) total read data - since process start, last interval and per fd
b) total write data - since process start, last interval and per fd
c) counts of read IO block size - since process start, last interval and per fd
d) counts of write IO block size - since process start, last interval and per fd
e) counts of all FOP types passing through it
Usage:
1. For dumping global stats
sh# setfattr -n io-stats-dump /tmp/filename /mnt/gluster
2. For enabling per-fd stats
option dump-fd-stats on
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 268 (Add timing instrumentation code)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=268
Diffstat (limited to 'xlators/cluster/afr/src/afr-dir-read.h')
0 files changed, 0 insertions, 0 deletions