btrfs-progs: make device discard process interruptible
commit4724d7b07553ad27429bb2d61de1c5e8d4d7613d
authorDavid Sterba <dsterba@suse.cz>
Thu, 27 Mar 2014 15:19:37 +0000 (27 16:19 +0100)
committerChris Mason <clm@fb.com>
Sat, 5 Apr 2014 00:54:35 +0000 (4 17:54 -0700)
treee55de6cbcab159a46419e5a51e3963b2fc9dceca
parenta062ffd74de0b6ad74ea2c9750da94e2964856a1
btrfs-progs: make device discard process interruptible

The ioctl for the whole range is not interruptible, which can be
annoying when the discard is not wanted but user forgets to use the -K
option.

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
utils.c