Skip to content

Output selection, improvements for ext4/001

Jan Kara fstests linux-ext4 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4_filter_fiemap: Avoid awk interval regexpscommon/punch+1 -10 replies
2/4ext4/001: Update outputtests/ext4/001.out+2 -60 replies
3/4common: Add function for selecting from different output filescommon/rc+41 -02 replies
4/4ext4/001: Select different output based on mount optionstests/ext4/001 tests/ext4/001.cfg tests/ext4/001.out +2 more+671 -3330 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/4] Output selection, improvements for ext4/001

Hello,

the patch series below addresses some issues with test ext4/001. The first patch is just a minor improvement to _filter_fiemap to work with older awk programs. The second patch updates expected output of the test because it slightly changes after punch hole fixes.

Patch 3 implements function which allows selecting different output file based on mount options (or basically any feature string that's passed to the function
- e.g. selection based on fs blocksize can be easily done as well). Current helper _link_out_file() could be implemented using this as well but for now I left it alone. I think this feature can be useful when different mount options change behavior of the filesystem and thus different output is generated but we want to have test working all mount options.

Patch 4 uses the output selection function in ext4/001 to select different output files based on mount options.

Comments welcome!

Honza