[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240827065123.1762168-1-hch@lst.de>
Date: Tue, 27 Aug 2024 08:50:44 +0200
From: Christoph Hellwig <hch@....de>
To: Christian Brauner <brauner@...nel.org>,
Alexander Viro <viro@...iv.linux.org.uk>,
Chandan Babu R <chandan.babu@...cle.com>
Cc: Brian Foster <bfoster@...hat.com>,
Jens Axboe <axboe@...nel.dk>,
Jan Kara <jack@...e.cz>,
"Darrick J. Wong" <djwong@...nel.org>,
"Theodore Ts'o" <tytso@....edu>,
linux-block@...r.kernel.org,
linux-fsdevel@...r.kernel.org,
linux-xfs@...r.kernel.org,
linux-ext4@...r.kernel.org
Subject: sort out the fallocate mode mess v2
Hi all,
I've recently been looking at the XFS fallocate implementation and got
upset about the messing parsing of the mode argument, which mixes modes
and an optional flag in a really confusing way.
This series tries to clean this up by better defining what is the
operation mode and what is an optional flag, so that both the core
code and file systems can use switch statements to switch on the mode.
Changes since v1:
- fix the IS_APPEND check
- ensure space is allocated after unshare
Powered by blists - more mailing lists