Re: [Cluster-devel] [PATCH 6/8] gfs2: Rework freeze / thaw logic

2023-06-13 Thread Andreas Gruenbacher
On Tue, Jun 13, 2023 at 3:05 PM Alexander Aring wrote: > Hi Andreas, > > On Mon, Jun 12, 2023 at 12:33 PM Andreas Gruenbacher > wrote: > ... > > > > @@ -152,24 +151,18 @@ static void signal_our_withdraw(struct gfs2_sbd *sdp) > > */ > > clear_bit(SDF_JOURNAL_LIVE, >sd_flags); > >

Re: [Cluster-devel] [PATCH 6/8] gfs2: Rework freeze / thaw logic

2023-06-13 Thread Alexander Aring
Hi Andreas, On Mon, Jun 12, 2023 at 12:33 PM Andreas Gruenbacher wrote: ... > > @@ -152,24 +151,18 @@ static void signal_our_withdraw(struct gfs2_sbd *sdp) > */ > clear_bit(SDF_JOURNAL_LIVE, >sd_flags); > if (!sb_rdonly(sdp->sd_vfs)) { > - struct

Re: [Cluster-devel] [PATCH 6/8] gfs2: Rework freeze / thaw logic

2023-06-13 Thread Andreas Gruenbacher
On Tue, Jun 13, 2023 at 12:29 PM Andrew Price wrote: > On 12/06/2023 17:33, Andreas Gruenbacher wrote: > > So far, at mount time, gfs2 would take the freeze glock in shared mode > > and then immediately drop it again, turning it into a cached glock that > > can be reclaimed at any time. To

Re: [Cluster-devel] [PATCH 6/8] gfs2: Rework freeze / thaw logic

2023-06-13 Thread Andrew Price
On 12/06/2023 17:33, Andreas Gruenbacher wrote: So far, at mount time, gfs2 would take the freeze glock in shared mode and then immediately drop it again, turning it into a cached glock that can be reclaimed at any time. To freeze the filesystem cluster-wide, the node initiating the freeze

[Cluster-devel] [PATCH 6/8] gfs2: Rework freeze / thaw logic

2023-06-12 Thread Andreas Gruenbacher
So far, at mount time, gfs2 would take the freeze glock in shared mode and then immediately drop it again, turning it into a cached glock that can be reclaimed at any time. To freeze the filesystem cluster-wide, the node initiating the freeze would take the freeze glock in exclusive mode, which