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)
commitd790155457a830d064d57e742521f114d3c38108
tree56fc549bfec1f525f04cc5ad5d9f6756e688c7b5
parentb2aaaa3b8c2153ef17f0e22287acbf8ee31a7c82
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