Skip to content

RFC ext4: mark more ops fast-commit ineligible

Li Chen linux-ext4 linux-trace-kernel lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5ext4: mark inode format migration fast-commit ineligiblefs/ext4/fast_commit.c fs/ext4/fast_commit.h fs/ext4/migrate.c +1 more+17 -10 replies
2/5ext4: mark fs-verity enable fast-commit ineligiblefs/ext4/fast_commit.c fs/ext4/fast_commit.h fs/ext4/verity.c +1 more+7 -10 replies
3/5ext4: mark move extents fast-commit ineligiblefs/ext4/fast_commit.c fs/ext4/fast_commit.h fs/ext4/move_extent.c +1 more+6 -10 replies
4/5ext4: mark group add fast-commit ineligiblefs/ext4/ioctl.c+1 -00 replies
5/5ext4: mark group extend fast-commit ineligiblefs/ext4/ioctl.c+2 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
2.51.0