summaryrefslogtreecommitdiff
path: root/cmds-device.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-12-08 19:21:28 +0100
committerDavid Sterba <dsterba@suse.com>2016-12-14 15:06:36 +0100
commitb67e9a1b132c98a2e31df9e8ae79273a8531ba6f (patch)
tree95ca7036539ac3ac28ff62cda3d0a08434417a32 /cmds-device.c
parent01bafdbc90452a17a9de6095fcdf0a9adca98dd2 (diff)
btrfs-progs: docs: update dev stats help and manual page
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-device.c')
-rw-r--r--cmds-device.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmds-device.c b/cmds-device.c
index ba0e4368..3e053d9e 100644
--- a/cmds-device.c
+++ b/cmds-device.c
@@ -372,8 +372,10 @@ out:
}
static const char * const cmd_device_stats_usage[] = {
- "btrfs device stats [-z] <path>|<device>",
- "Show current device IO stats.",
+ "btrfs device stats [options] <path>|<device>",
+ "Show device IO error statistics",
+ "Show device IO error statistics for all devices of the given filesystem",
+ "identified by PATH or DEVICE. The filesystem must be mounted.",
"",
"-z|--reset show current stats and reset values to zero",
"-s return non-zero if any stat counter is not zero",