Re: [Cluster-devel] [PATCHv4 v6.5-rc2 3/3] fs: dlm: fix F_CANCELLK to cancel pending request

2023-07-24 Thread Alexander Aring
Hi, On Mon, Jul 24, 2023 at 3:03 PM Alexander Aring wrote: > > Hi, > > On Mon, Jul 24, 2023 at 10:40 AM Andreas Gruenbacher > wrote: > > > > On Fri, Jul 21, 2023 at 8:55 PM Alexander Aring wrote: > > > Hi, > > > > > > On Fri, Jul 21, 2023 at 12:25 PM Andreas Gruenbacher > > > wrote: > > > > >

Re: [Cluster-devel] [PATCHv4 v6.5-rc2 3/3] fs: dlm: fix F_CANCELLK to cancel pending request

2023-07-24 Thread Alexander Aring
Hi, On Mon, Jul 24, 2023 at 10:40 AM Andreas Gruenbacher wrote: > > On Fri, Jul 21, 2023 at 8:55 PM Alexander Aring wrote: > > Hi, > > > > On Fri, Jul 21, 2023 at 12:25 PM Andreas Gruenbacher > > wrote: > > > > > > On Thu, Jul 20, 2023 at 2:22 PM Alexander Aring > > > wrote: > > > > This

Re: [Cluster-devel] [PATCHv4 v6.5-rc2 3/3] fs: dlm: fix F_CANCELLK to cancel pending request

2023-07-24 Thread Andreas Gruenbacher
On Fri, Jul 21, 2023 at 8:55 PM Alexander Aring wrote: > Hi, > > On Fri, Jul 21, 2023 at 12:25 PM Andreas Gruenbacher > wrote: > > > > On Thu, Jul 20, 2023 at 2:22 PM Alexander Aring wrote: > > > This patch fixes the current handling of F_CANCELLK by not just doing a > > > unlock as we need to

Re: [Cluster-devel] [PATCHv4 v6.5-rc2 3/3] fs: dlm: fix F_CANCELLK to cancel pending request

2023-07-21 Thread Alexander Aring
Hi, On Fri, Jul 21, 2023 at 12:25 PM Andreas Gruenbacher wrote: > > On Thu, Jul 20, 2023 at 2:22 PM Alexander Aring wrote: > > This patch fixes the current handling of F_CANCELLK by not just doing a > > unlock as we need to try to cancel a lock at first. A unlock makes sense > > on a

Re: [Cluster-devel] [PATCHv4 v6.5-rc2 3/3] fs: dlm: fix F_CANCELLK to cancel pending request

2023-07-21 Thread Andreas Gruenbacher
On Thu, Jul 20, 2023 at 2:22 PM Alexander Aring wrote: > This patch fixes the current handling of F_CANCELLK by not just doing a > unlock as we need to try to cancel a lock at first. A unlock makes sense > on a non-blocking lock request but if it's a blocking lock request we > need to cancel the

[Cluster-devel] [PATCHv4 v6.5-rc2 3/3] fs: dlm: fix F_CANCELLK to cancel pending request

2023-07-20 Thread Alexander Aring
This patch fixes the current handling of F_CANCELLK by not just doing a unlock as we need to try to cancel a lock at first. A unlock makes sense on a non-blocking lock request but if it's a blocking lock request we need to cancel the request until it's not granted yet. This patch is fixing this