Re: [Cluster-devel] [RFCv2 1/7] lockd: fix race in async lock request handling

2023-08-17 Thread Alexander Aring
Hi, On Tue, Aug 15, 2023 at 2:21 PM Jeff Layton wrote: > > On Tue, 2023-08-15 at 13:49 -0400, Jeff Layton wrote: > > On Mon, 2023-08-14 at 17:11 -0400, Alexander Aring wrote: > > > This patch fixes a race in async lock request handling between adding > > > the relevant struct nlm_block to nlm_blo

Re: [Cluster-devel] [RFCv2 1/7] lockd: fix race in async lock request handling

2023-08-17 Thread Alexander Aring
Hi, On Tue, Aug 15, 2023 at 1:49 PM Jeff Layton wrote: > > On Mon, 2023-08-14 at 17:11 -0400, Alexander Aring wrote: > > This patch fixes a race in async lock request handling between adding > > the relevant struct nlm_block to nlm_blocked list after the request was > > sent by vfs_lock_file() an

Re: [Cluster-devel] [RFCv2 1/7] lockd: fix race in async lock request handling

2023-08-15 Thread Jeff Layton
On Tue, 2023-08-15 at 13:49 -0400, Jeff Layton wrote: > On Mon, 2023-08-14 at 17:11 -0400, Alexander Aring wrote: > > This patch fixes a race in async lock request handling between adding > > the relevant struct nlm_block to nlm_blocked list after the request was > > sent by vfs_lock_file() and nlm

Re: [Cluster-devel] [RFCv2 1/7] lockd: fix race in async lock request handling

2023-08-15 Thread Jeff Layton
On Mon, 2023-08-14 at 17:11 -0400, Alexander Aring wrote: > This patch fixes a race in async lock request handling between adding > the relevant struct nlm_block to nlm_blocked list after the request was > sent by vfs_lock_file() and nlmsvc_grant_deferred() does a lookup of the > nlm_block in the n

[Cluster-devel] [RFCv2 1/7] lockd: fix race in async lock request handling

2023-08-14 Thread Alexander Aring
This patch fixes a race in async lock request handling between adding the relevant struct nlm_block to nlm_blocked list after the request was sent by vfs_lock_file() and nlmsvc_grant_deferred() does a lookup of the nlm_block in the nlm_blocked list. It could be that the async request is completed b