[RFC PATCH 0/2] ext4: two small fast commit fixes

Luis Henriques (SUSE)
2024-05-21T15:45:43Z

Hi!

I've spent some time investigating an fstest failure when running it using
'-O fast_commit'. As a result, I'm sending two patches that hopefully fix
this failure. The first patch is the actual bug fix for the generic/047
fstest. The second patch was just something I saw through code inspection.

Note that this generic/047 test also requires the fix I sent before[1], for
a different fstest failure.

[1] https://lore.kernel.org/all/20240515082857.32730-1-luis.henriques@linux.dev

Luis Henriques (SUSE) (2):
ext4: fix fast commit inode enqueueing during a full journal commit
jbd2: reset fast commit offset only after fs cleanup is done

fs/ext4/fast_commit.c | 19 +++++++++++++------
fs/jbd2/commit.c | 2 +-
2 files changed, 14 insertions(+), 7 deletions(-)