[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <C2130E9A-7467-4AC6-A0FE-0C4F4093DE20@dilger.ca>
Date: Wed, 17 Sep 2025 00:26:18 -0600
From: Andreas Dilger <adilger@...ger.ca>
To: Theodore Ts'o <tytso@....edu>
Cc: Ext4 Developers List <linux-ext4@...r.kernel.org>,
Theodore Ts'o <tytso@....edu>
Subject: Re: [PATCH 0/3] E2fsprogs: tune2fs: use an ioctl to update mounted fs
On Sep 16, 2025, at 21:28, Theodore Ts'o <tytso@....edu> wrote:
>
> Teach tune2fs to try use the new EXT4_IOC_SET_TUNE_SB_PARAM ioctl
> interface to update mounted file systems. This will allow us to
> disallow read/write access to the block device while the file system
> is mounted, once we are sure the updated e2fsprogs is in use.
>
> Theodore Ts'o (3):
> tune2fs: reorganize command-line flag handling
> tune2fs: rework parse_extended_opts() so it only parses the option
> string
> tune2fs: try to use the SET_TUNE_SB_PARAM ioctl on mounted file
> systems
Have you considered to use a mount option (eg. mount.ext4) or a flag stored in the sb
to indicate that a new e2fsprogs is installed in userspace?
That would take the guesswork out of when to enable blocking direct superblock writes,
and allow this feature to be enabled sooner.
Cheers, Andreas
>
> misc/tune2fs.c | 763 ++++++++++++++++++++++++++++++++-----------------
> 1 file changed, 496 insertions(+), 267 deletions(-)
>
> --
> 2.51.0
>
>
Powered by blists - more mailing lists