Re: [PATCH 5/5] btrfs: move uuid_mutex closer to exclusivity

2018-01-09 Thread Anand Jain
On 01/10/2018 12:15 AM, Josef Bacik wrote: On Tue, Jan 09, 2018 at 10:46:25PM +0800, Anand Jain wrote: move uuid_mutex with in device_list_add(). Signed-off-by: Anand Jain This isn't going to work, there's a bunch of places we return errors so this just deadlocks the box. Leave it like it

Re: [PATCH 5/5] btrfs: move uuid_mutex closer to exclusivity

2018-01-09 Thread Josef Bacik
On Tue, Jan 09, 2018 at 10:46:25PM +0800, Anand Jain wrote: > move uuid_mutex with in device_list_add(). > > Signed-off-by: Anand Jain This isn't going to work, there's a bunch of places we return errors so this just deadlocks the box. Leave it like it is, it's not hurting anybody leaving it li