]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitc11d2c236cc260b36ef644700fbe99bcc7e7da33
treee240721e0b6e5784177ac39bc299db4063b93c72
parent442a4f6308e694e0fa6025708bd5e4e424bbf51c
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