[PATCH RFC 21/28] gfs2: don't set SB_RDONLY on withdraw
Andreas Gruenbacher
agruenba at redhat.com
Wed Oct 28 15:09:31 PDT 2026
On Wed, Oct 28, 2026 at 5:02 PM Christian Brauner <brauner at kernel.org> wrote:
> On Fri, Oct 16, 2026 at 02:01:00AM +0200, Andreas Gruenbacher wrote:
> > According to commit d564053f0746 ("GFS2: Clean up freeze code"), the
> > idea of the freeze sysfs file was to make it behave like the FIFREEZE
> > / FITHAW ioctls. This isn't what the code is doing at all.
>
> That's a pre-existing and separate from this series. freeze_store() calls
> freeze_super() and thaw_super() directly with FREEZE_HOLDER_USERSPACE and never
> goes through gfs2_freeze_super() and gfs2_thaw_super(). So it never takes the
> freeze glock. I don't think that's for this series to fix.
I mainly wanted to point out that this behavior isn't intentional.
Thanks,
Andreas
More information about the linux-mtd
mailing list