[PATCH RFC 20/28] gfs2: wait for a pending withdraw before remounting read-only

Christian Brauner brauner at kernel.org
Tue Oct 20 07:53:45 PDT 2026


On Mon, Oct 19, 2026 at 11:52:25AM +0200, Jan Kara wrote:
> On Sun 18-10-26 17:48:34, Christian Brauner wrote:
> ...
> > On Fri, Oct 16, 2026 at 02:32:01AM +0200, Andreas Gruenbacher wrote:
> > > > diff --git a/fs/gfs2/util.c b/fs/gfs2/util.c
> > > > index 83b8bb6446e5..1535ce2b7aa8 100644
> > > > --- a/fs/gfs2/util.c
> > > > +++ b/fs/gfs2/util.c
> > > > @@ -122,7 +122,7 @@ static void do_withdraw(struct gfs2_sbd *sdp)
> > > >                 up_write(&sdp->sd_log_flush_lock);
> > > >                 return;
> > > >         }
> > > > -       clear_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags);
> > > > +       clear_and_wake_up_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags);
> > > >         gfs2_ail_drain(sdp); /* frees all transactions */
> > > >         up_write(&sdp->sd_log_flush_lock);
> > > >
> > > >
> > > > --
> > > > 2.53.0
> > > >
> > > 
> > > this looks good all around, thank you very much. Can I add it to my gfs2 queue?
> > 
> > I was planning to just provide a stable branch for everyone to pull post
> > -rc1. Then you can just pull that in?
> 
> On a related topic: I didn't find any branch with this work in vfs.git - I
> wanted to check how all the things come together after adding the generic
> emergency RO bit. So if you can push some inofficial branch for now it
> would help me... Thanks!

Absolutely:

vfs-7.5.super.ro



More information about the linux-mtd mailing list