Re: [PATCH] btrfs: avoid blocking open_ctree from cleaner_kthread

2016-06-15 Thread David Sterba
On Sun, Jun 12, 2016 at 11:39:58PM -0400, Zygo Blaxell wrote: > This fixes a problem introduced in commit > 2f3165ecf103599f82bf0ea254039db335fb5005 > "btrfs: don't force mounts to wait for cleaner_kthread to delete one or more > subvolumes". > > open_ctree eventually calls btrfs_replay_log

[PATCH] btrfs: avoid blocking open_ctree from cleaner_kthread

2016-06-12 Thread Zygo Blaxell
This fixes a problem introduced in commit 2f3165ecf103599f82bf0ea254039db335fb5005 "btrfs: don't force mounts to wait for cleaner_kthread to delete one or more subvolumes". open_ctree eventually calls btrfs_replay_log which in turn calls btrfs_commit_super which tries to lock the cleaner_mutex,