Re: [RFC][PATCH] Btrfs: Release uuid_mutex for shrink during device delete

2013-03-20 Thread David Sterba
On Mon, Mar 04, 2013 at 04:37:06PM -0600, Carey Underwood wrote: Device scanning waits on the uuid_mutex, which can result in a very long wait if dev delete is shrinking the device. + mutex_unlock(uuid_mutex); ret = btrfs_shrink_device(device, 0); + mutex_lock(uuid_mutex);

[RFC][PATCH] Btrfs: Release uuid_mutex for shrink during device delete

2013-03-04 Thread Carey Underwood
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 cwi...@cwillu.com --- fs/btrfs/volumes.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/fs/btrfs/volumes.c