]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Release uuid_mutex for shrink during device delete
authorCarey Underwood <carey@scaletech.ca>
Mon, 4 Mar 2013 22:37:06 +0000 (16:37 -0600)
committerChris Mason <chris.mason@fusionio.com>
Sun, 1 Sep 2013 11:57:21 +0000 (07:57 -0400)
commita970ecd5c548c1a0c38ef656ba21f8cc2c7cf16a
tree56fc549bfec1f525f04cc5ad5d9f6756e688c7b5
parentd69b5e5b41e6f320f322e6a93d255257086d15e8
Btrfs: Release uuid_mutex for shrink during device delete

Device scanning waits on the uuid_mutex, which can result in a very long
wait if dev delete is shrinking the device.

Signed-off-by: Carey Underwood <cwillu@cwillu.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/volumes.c