Re: [Cluster-devel] [PATCH RFC gfs2/for-next] fs: gfs2: release dlm gfs2 ls on withdraw

2021-08-23 Thread Alexander Aring
Hi, On Mon, Aug 23, 2021 at 11:56 AM Alexander Aring wrote: > > This patch will introduce a new gfs2 lock ops callback for release a > possible lock infrastructure e.g. dlm. There is currently an issue with > gfs2 and dlm by hitting ctrl-c during mount operation (sometimes it > works, most times

Re: [Cluster-devel] [PATCH v6 10/19] gfs2: Introduce flag for glock holder auto-demotion

2021-08-23 Thread Andreas Gruenbacher
On Mon, Aug 23, 2021 at 6:06 PM Matthew Wilcox wrote: > On Mon, Aug 23, 2021 at 05:18:12PM +0200, Andreas Gruenbacher wrote: > > On Mon, Aug 23, 2021 at 10:14 AM Steven Whitehouse > > wrote: > > > If the goal here is just to allow the glock to be held for a longer > > > period of time, but with

Re: [Cluster-devel] [PATCH v6 10/19] gfs2: Introduce flag for glock holder auto-demotion

2021-08-23 Thread Bob Peterson
On 8/23/21 11:05 AM, Matthew Wilcox wrote: On Mon, Aug 23, 2021 at 05:18:12PM +0200, Andreas Gruenbacher wrote: On Mon, Aug 23, 2021 at 10:14 AM Steven Whitehouse wrote: If the goal here is just to allow the glock to be held for a longer period of time, but with occasional interruptions to

Re: [Cluster-devel] [PATCH v6 10/19] gfs2: Introduce flag for glock holder auto-demotion

2021-08-23 Thread Matthew Wilcox
On Mon, Aug 23, 2021 at 05:18:12PM +0200, Andreas Gruenbacher wrote: > On Mon, Aug 23, 2021 at 10:14 AM Steven Whitehouse > wrote: > > If the goal here is just to allow the glock to be held for a longer > > period of time, but with occasional interruptions to prevent > > starvation, then we have

[Cluster-devel] [PATCH RFC gfs2/for-next] fs: gfs2: release dlm gfs2 ls on withdraw

2021-08-23 Thread Alexander Aring
This patch will introduce a new gfs2 lock ops callback for release a possible lock infrastructure e.g. dlm. There is currently an issue with gfs2 and dlm by hitting ctrl-c during mount operation (sometimes it works, most times not). The issue is here that when the gfs2 filesystem is not withdrawn

Re: [Cluster-devel] [PATCH v3 2/2] fs: remove mandatory file locking support

2021-08-23 Thread Guenter Roeck
On Fri, Aug 20, 2021 at 12:39:19PM -0400, Jeff Layton wrote: > We added CONFIG_MANDATORY_FILE_LOCKING in 2015, and soon after turned it > off in Fedora and RHEL8. Several other distros have followed suit. > > I've heard of one problem in all that time: Someone migrated from an > older distro that

Re: [Cluster-devel] [PATCH v6 10/19] gfs2: Introduce flag for glock holder auto-demotion

2021-08-23 Thread Andreas Gruenbacher
On Mon, Aug 23, 2021 at 10:14 AM Steven Whitehouse wrote: > On Fri, 2021-08-20 at 17:22 +0200, Andreas Gruenbacher wrote: > > On Fri, Aug 20, 2021 at 3:11 PM Bob Peterson > > wrote: > > > > [snip] > > > > > > You can almost think of this as a performance enhancement. This > > > concept > > >

Re: [Cluster-devel] FS/DLM module triggered kernel BUG

2021-08-23 Thread Alexander Aring
Hi Gang He, On Mon, Aug 23, 2021 at 1:43 AM Gang He wrote: > > Hello Guys, > > I used kernel 5.13.8, I sometimes encountered the dlm module triggered kernel > BUG. What do you exactly do? I would like to test it on a recent upstream version, or you can do it? > Since the dlm kernel module is

[Cluster-devel] FS/DLM module triggered kernel BUG

2021-08-23 Thread Gang He
Hello Guys, I used kernel 5.13.8, I sometimes encountered the dlm module triggered kernel BUG. Since the dlm kernel module is not the latest source code, I am not sure if this problem is fixed, or not. The backtrace is as below, [Fri Aug 20 16:24:14 2021] dlm:

Re: [Cluster-devel] [PATCH v6 10/19] gfs2: Introduce flag for glock holder auto-demotion

2021-08-23 Thread Steven Whitehouse
On Fri, 2021-08-20 at 17:22 +0200, Andreas Gruenbacher wrote: > On Fri, Aug 20, 2021 at 3:11 PM Bob Peterson > wrote: > > [snip] > > > > You can almost think of this as a performance enhancement. This > > concept > > allows a process to hold a glock for much longer periods of time, > > at a > >