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
