Btrfs-progs: add command to get/reset device stats via ioctl
authorStefan Behrens <sbehrens@giantdisaster.de>
Tue, 15 May 2012 09:30:39 +0000 (11:30 +0200)
committerDavid Sterba <dsterba@suse.cz>
Thu, 31 Jan 2013 12:47:17 +0000 (13:47 +0100)
commit5b8826ddfd1c4fcdcfe9f78fd80cfeeac9de1b21
tree7eb512fce9566f435d4b05a0b9ea1c70c583f20f
parent7a69dc4eecfd52841b11e0f9312f62d17e3479f5
Btrfs-progs: add command to get/reset device stats via ioctl

"btrfs device stats" is used to retrieve and print the device stats.
"btrfs device stats -z" is used to atomically retrieve, reset and
print the stats.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
cmds-device.c
ctree.h
ioctl.h
man/btrfs.8.in
print-tree.c