All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yifan Feng <evanfengff@gmail.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: Carlos Maiolino <cem@kernel.org>, Ian Kent <raven@themaw.net>,
	Christian Brauner <brauner@kernel.org>,
	linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] xfs: don't drop inode32 on a remount without inode32 or inode64
Date: Wed,  2 Dec 2026 13:08:11 -0800	[thread overview]
Message-ID: <20261202210811.24170-1-evanfengff@gmail.com> (raw)
In-Reply-To: <aw19_egsgjLuYM1Y@infradead.org>

On Mon, 30 Nov 2026 05:45:33 -0800 Christoph Hellwig <hch@infradead.org> wrote:

> Looks good:
>
> Reviewed-by: Christoph Hellwig <hch@lst.de>

Thanks.

> Can you add an xfstests test for this?

Yes, I will send one to the fstests list.

> I also wonder if we might have similar issues for other mount options.
> Do you have spare cycles to look over that?

I looked.  xfs_fs_reconfigure() takes three things from the options of
the remount: ro/rw, inode32/inode64 and max_atomic_write.  The rest is
only validated.  max_atomic_write has the same problem:

  # mount -o max_atomic_write=64k /dev/vda /mnt
  # findmnt -no OPTIONS /mnt
  rw,relatime,inode64,logbufs=8,logbsize=32k,noquota,max_atomic_write=64k
  # mount -o remount,noatime /dev/vda /mnt
  # findmnt -no OPTIONS /mnt
  rw,noatime,inode64,logbufs=8,logbsize=32k,noquota

I will send a patch for it on top of this one.

Thanks,
Yifan

      reply	other threads:[~2026-12-02 21:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30  0:19 [PATCH] xfs: don't drop inode32 on a remount without inode32 or inode64 Yifan Feng
2026-11-30 13:45 ` Christoph Hellwig
2026-12-02 21:08   ` Yifan Feng [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261202210811.24170-1-evanfengff@gmail.com \
    --to=evanfengff@gmail.com \
    --cc=brauner@kernel.org \
    --cc=cem@kernel.org \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    --cc=raven@themaw.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.