]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: add ioctl to get and reset the device stats
authorStefan Behrens <sbehrens@giantdisaster.de>
Fri, 25 May 2012 14:06:09 +0000 (16:06 +0200)
committerJosef Bacik <josef@redhat.com>
Wed, 30 May 2012 14:23:40 +0000 (10:23 -0400)
commitecedeb8c712fec615bc10be5c54a95864f3f3afd
treee240721e0b6e5784177ac39bc299db4063b93c72
parent9bc01bd6326ae4dce50ceb45810573c4c476e6ae
Btrfs: add ioctl to get and reset the device stats

An ioctl interface is added to get the device statistic counters.
A second ioctl is added to atomically get and reset these counters.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
fs/btrfs/ioctl.c
fs/btrfs/ioctl.h
fs/btrfs/volumes.c
fs/btrfs/volumes.h