Btrfs: add support for device replace ioctls
authorStefan Behrens <sbehrens@giantdisaster.de>
Tue, 6 Nov 2012 14:08:53 +0000 (15:08 +0100)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:06 +0000 (20:46 -0500)
commit3f6bcfbd4149875662773eb40a62294cddf215d4
tree0a53729e4e0a2427370a7ab10e12c36b21b827fd
parentad6d620e2a5704f6bf3a39c92a75aad962c51cb3
Btrfs: add support for device replace ioctls

This is the commit that allows to start the device replace
procedure.

An ioctl() interface is added that supports starting and
canceling the device replace procedure, and to retrieve
the status and progress.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ioctl.c
fs/btrfs/ioctl.h