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)
commitd2843dfcc635dba02cfd161113071de750b70b7a
tree0a53729e4e0a2427370a7ab10e12c36b21b827fd
parentf24ac8ef2f5988312027b0dc6e2a0e0b6884a256
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