On Wed, Jan 30, 2019 at 02:44:59PM +0800, Anand Jain wrote: > Fixes the circular locking dependency warning as in patch 1/3, > and patch 2/3 adds lockdep_assert_held() to scrub_workers_get(). > Patch 3/3 converts scrub_workers_refcnt into refcount_t. > > Anand Jain (3): > btrfs: scrub: fix circular locking dependency warning > btrfs: scrub: add scrub_lock lockdep check in scrub_workers_get > btrfs: scrub: convert scrub_workers_refcnt to refcount_t
1-3 + my patch adding the assertions is now in misc-next, will be in 5.1. Thanks.