Skip to content

Some more misc fsmap fixes

Ojaswin Mujoo linux-ext4 lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2ext4: Correctly handle queries for metadata mappingsfs/ext4/fsmap.c+9 -50 replies
2/2fsmap: use blocksize units instead of cluster unitsfs/ext4/fsmap.c fs/ext4/mballoc.c+40 -272 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] Some more misc fsmap fixes

These 2 patches mostly fixup a couple edge case inconsistent behavior we were seeing in fsmap. Further, convert fsmap path to use block size units wherever possible to avoid issues due to block to cluster to block conversions like [1].

[1] https://lore.kernel.org/linux-ext4/e7472c8535c9c5ec10f425f495366864ea12c9da.1754377641.git.ojaswin@linux.ibm.com/

Tested with some custom edge cases (which I'll see how to consistently convert to xfstests) as well as generic/365 on 4k, 64k and bigalloc

Ojaswin Mujoo (2):
ext4: Correctly handle queries for metadata mappings
fsmap: use blocksize units instead of cluster units

 fs/ext4/fsmap.c   | 56 +++++++++++++++++++++++++++--------------------
 fs/ext4/mballoc.c | 25 ++++++++++++++-------
 2 files changed, 49 insertions(+), 32 deletions(-)
Signature · 1 line
2.49.0