Re: Another 4.8-rc locked splat: btrfs_close_devices()

2016-09-09 Thread Anand Jain
Looks like we need to take time to clean up device_list_mutex, chunk_mutex, volume_mutex and rcu. As of now I have sent out, [PATCH] btrfs: fix a possible umount deadlock This has passed xfstests/btrfs. Thanks, Anand On 09/09/2016 08:38 AM, Anand Jain wrote: Thanks for the report

Re: Another 4.8-rc locked splat: btrfs_close_devices()

2016-09-08 Thread Anand Jain
Thanks for the report Ilya. Yep. Have seen similar issues during hotspare fixes as well. Where the vfs call to btrfs_show_devname() and its device_list_mutex lock is conflicting. One of that is fixed here. -- 779bf3fefa835cb52a07457c8acac6f2f66f2493 btrfs: fix lock dep warning, move

Another 4.8-rc locked splat: btrfs_close_devices()

2016-09-08 Thread Ilya Dryomov
Hello, This one seems to have appeared after Anand's commit 142388194191 ("btrfs: do not background blkdev_put()") got merged into 4.8-rc4. Thanks, Ilya [ 983.284212] == [ 983.290401] [ INFO: possible circular locking