diff options
author | Kaushal M <kaushal@redhat.com> | 2012-05-13 09:32:56 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-05-21 18:34:55 -0700 |
commit | afc623f85e766a9006d7ba7cb81123ca3e10a719 (patch) | |
tree | 9759f799c4b2c5b5d8c61580277ad10f28db267e /swift/1.4.8/plugins/DiskDir.py | |
parent | 25ee4c27d9beaac0bdbf640851639e12e8f625b2 (diff) |
cli,glusterd,debug/io-stats: Clear top stats
Introduces a cli command to clear "volume top" stats. The syntax for clearing
stats is
# gluster volume top <VOLNAME> clear [nfs]
This patch also fixes io-stats xlator, to create ios_stat struct for open fop as
well, along with create and mkdir fops. This allows stats to be recorded for
files that exist already after clearing stats or restarting brick process, which
would not occur otherwise.
Change-Id: I1b87e192025be7bb8a51eaff3d09c747d05d7def
BUG: 771709
Signed-off-by: Kaushal M <kaushal@redhat.com>
Reviewed-on: http://review.gluster.com/3334
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'swift/1.4.8/plugins/DiskDir.py')
0 files changed, 0 insertions, 0 deletions