Re: [PATCH] Btrfs: pass lockdep rwsem metadata to async commit transaction
From: Josef Bacik <hidden>
Date: 2012-08-27 22:29:25
From: Josef Bacik <hidden>
Date: 2012-08-27 22:29:25
On Mon, Aug 27, 2012 at 04:05:37PM -0600, Sage Weil wrote:
On Sun, 26 Aug 2012, Josef Bacik wrote:quoted
On Fri, Aug 24, 2012 at 04:47:56PM -0600, Sage Weil wrote:quoted
Sadly, now I hit another one:Oh haha you need to set current->journal_info to the trans you have before you call commit_transaction in do_async_commit. Thanks,Ah, makes sense. But now...
Um so I don't think we need to be holding cleanup_work_sem() in run_delayed_iputs(), it's meant to protect the running of the orphan cleanup. So just remove it in btrfs_run_delayed_iputs() and see how that goes? Thanks, Josef