btrfs: new ioctls for scrub
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Fri, 11 Mar 2011 14:41:01 +0000 (15:41 +0100)
committerArne Jansen <sensille@gmx.net>
Thu, 12 May 2011 12:45:38 +0000 (14:45 +0200)
commit475f63874d739d7842a56da94687f18d583ae654
tree096902bd87353d1e8be3cf6a9ecadb66fc620d11
parenta2de733c78fa7af51ba9670482fa7d392aa67c57
btrfs: new ioctls for scrub

adds ioctls necessary to start and cancel scrubs, to get current
progress and to get info about devices to be scrubbed.
Note that the scrub is done per-device and that the ioctl only
returns after the scrub for this devices is finished or has been
canceled.

Signed-off-by: Arne Jansen <sensille@gmx.net>
fs/btrfs/ctree.h
fs/btrfs/ioctl.c
fs/btrfs/ioctl.h