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(-)
--
2.49.0