Re: [PATCH v4 0/3] btrfs: scrub: fix scrub_lock

2019-02-13 Thread David Sterba
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 circu

Re: [PATCH v4 0/3] btrfs: scrub: fix scrub_lock

2019-02-11 Thread Anand Jain
On 2/9/19 1:02 AM, David Sterba wrote: 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 Ja

Re: [PATCH v4 0/3] btrfs: scrub: fix scrub_lock

2019-02-08 Thread David Sterba
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 circu