Re: [f2fs-dev] [PATCH V2] f2fs: Avoid double lock for cp_rwsem during checkpoint

2020-04-29 Thread Sayali Lokhande
On 4/29/2020 6:14 PM, Dan Carpenter wrote: On Wed, Apr 29, 2020 at 10:28:36AM +0530, Sayali Lokhande wrote: Hi Markus On 4/27/2020 4:08 PM, Markus Elfring wrote: … This results in deadlock as iput() tries to hold cp_rwsem, which is already held at the beginning by checkpoint->block_operation

Re: [f2fs-dev] [PATCH V2] f2fs: Avoid double lock for cp_rwsem during checkpoint

2020-04-29 Thread Dan Carpenter
On Wed, Apr 29, 2020 at 10:28:36AM +0530, Sayali Lokhande wrote: > Hi Markus > > On 4/27/2020 4:08 PM, Markus Elfring wrote: > > > … This results in deadlock as > > > iput() tries to hold cp_rwsem, which is already held at the > > > beginning by checkpoint->block_operations(). > > Will another imp

Re: [f2fs-dev] [PATCH V2] f2fs: Avoid double lock for cp_rwsem during checkpoint

2020-04-28 Thread Sayali Lokhande
Hi Markus On 4/27/2020 4:08 PM, Markus Elfring wrote: … This results in deadlock as iput() tries to hold cp_rwsem, which is already held at the beginning by checkpoint->block_operations(). Will another imperative wording become helpful besides the provided information for this change descriptio