[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <170801246691.553311.17221609995584467282.b4-ty@mit.edu>
Date: Thu, 15 Feb 2024 10:54:36 -0500
From: "Theodore Ts'o" <tytso@....edu>
To: linux-ext4@...r.kernel.org, Zhiqiang Liu <liuzhiqiang26@...wei.com>
Cc: "Theodore Ts'o" <tytso@....edu>, adilger@...mcloud.com,
Jan Kara <jack@...e.cz>, linfeilong <linfeilong@...wei.com>,
wuguanghao <wuguanghao3@...wei.com>,
zhanchengbin <zhanchengbin1@...wei.com>, libaokun1@...wei.com
Subject: Re: [PATCH] tune2fs: check whether filesystem is in use for I_flag and Q_flag test
On Mon, 20 Mar 2023 13:04:34 +0800, Zhiqiang Liu wrote:
> For changing inode size (-I) and setting quota fearture (-Q), tune2fs
> only check whether the filesystem is umounted. Considering mount
> namepspaces, the filesystem is umounted, however it already be left
> in other mount namespace.
> So we add one check whether the filesystem is not in use with using
> EXT2_MF_BUSY flag, which can indicate the device is already opened
> with O_EXCL, as suggested by Ted.
>
> [...]
Applied, thanks!
[1/1] tune2fs: check whether filesystem is in use for I_flag and Q_flag test
(no commit info)
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists