]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: make subvol creation/deletion killable in the early stages
authorDavid Sterba <dsterba@suse.cz>
Fri, 22 Mar 2013 18:12:51 +0000 (18:12 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 6 May 2013 19:54:26 +0000 (15:54 -0400)
commitacb06df452764568f3d80a03c0b094dcdf20e796
tree29b515dab2036bb3d728dd9d3b9b92b767fbae2d
parentf4c20e511486126775a5ba1abae915072bc89421
btrfs: make subvol creation/deletion killable in the early stages

The subvolume ioctls block on the parent directory mutex that can be
held by other concurrent snapshot activity for a long time. Give the
user at least some chance to get out of this situation by allowing
to send a kill signal.

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/ioctl.c