[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251211115146.897420-1-me@linux.beauty>
Date: Thu, 11 Dec 2025 19:51:37 +0800
From: Li Chen <me@...ux.beauty>
To: "Theodore Ts'o" <tytso@....edu>,
Andreas Dilger <adilger.kernel@...ger.ca>,
Steven Rostedt <rostedt@...dmis.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
linux-ext4@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org
Subject: [RFC 0/5] ext4: mark more ops fast-commit ineligible
ext4 fast commit only logs operations with replay support. This series
marks a few more operations as fast-commit ineligible and accounts
them via fc_info so behaviour under fast commit is easier to reason
about.
Testing was done in a QEMU guest on loopback ext4 filesystems created
with -O fast_commit[/,verity] by exercising each operation and checking
/proc/fs/ext4/*/fc_info for the corresponding ineligible reason and
ineligible commit counters. Detailed steps are in each commit's message.
Li Chen (5):
ext4: mark inode format migration fast-commit ineligible
ext4: mark fs-verity enable fast-commit ineligible
ext4: mark move extents fast-commit ineligible
ext4: mark group add fast-commit ineligible
ext4: mark group extend fast-commit ineligible
fs/ext4/fast_commit.c | 3 +++
fs/ext4/fast_commit.h | 3 +++
fs/ext4/ioctl.c | 3 +++
fs/ext4/migrate.c | 12 ++++++++++++
fs/ext4/move_extent.c | 1 +
fs/ext4/verity.c | 2 ++
include/trace/events/ext4.h | 8 +++++++-
7 files changed, 31 insertions(+), 1 deletion(-)
--
2.51.0
Powered by blists - more mailing lists