]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit5c50c9b89f1179237e0c0afb399432924058e756
tree29b515dab2036bb3d728dd9d3b9b92b767fbae2d
parent94ef7280e8b3a5b13ba3cc515e5c198c1181176e
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