Hi Jaegeuk, Could you please consider merging this patchset? Some testcases may rely on these new injection functionality.
On 8/25/25 09:54, Sheng Yong wrote: > Hi, all, > > Since we have not yet determined how to check the test result properly, > I split patchset v2 into two parts on Chao's suggestion. This is the > first part which contains some fixes/cleanups for f2fs-tools, and adds > new injections for inject.f2fs. > > Changes from v3 are also updated in individual patch. > > v4: * update manual page of injecting cp > v3: * split original patchset into two parts > * update manual > * refactor inject sit/nat in journal > * fix memleak > > https://lore.kernel.org/linux-f2fs-devel/[email protected] > v2: * add some fix and cleanup > * remove img.tar.gz from testcases > * add testcases for injection > * cleanup helpers script and simplify filter.sed and expected.in > > https://lore.kernel.org/linux-f2fs-devel/[email protected]/ > v1: > https://lore.kernel.org/linux-f2fs-devel/[email protected]/ > > Sheng Yong (13): > fsck.f2fs: do not finish/reset zone if dry-run is true > f2fs-tools: add option N to answer no for all questions > f2fs-tools: cleanup {nid|segno}_in_journal > fsck.f2fs: fix invalidate checkpoint > dump.f2fs: print more info > f2fs-tools: add and export lookup_sit_in_journal > inject.f2fs: fix injecting sit/nat in journal > inject.f2fs: fix injection on zoned device > inject.f2fs: fix and cleanup parsing numeric options > inject.f2fs: add members in inject_cp > inject.f2fs: add member `feature' in inject_sb > inject.f2fs: add members in inject_node > inject.f2fs: add member `filename' in inject_dentry > > fsck/dump.c | 15 +- > fsck/f2fs.h | 12 +- > fsck/fsck.c | 2 +- > fsck/fsck.h | 4 +- > fsck/inject.c | 515 ++++++++++++++++++++++++++++++++++++-------- > fsck/inject.h | 1 + > fsck/main.c | 14 +- > fsck/mount.c | 61 ++++-- > include/f2fs_fs.h | 1 + > lib/libf2fs_zoned.c | 6 +- > man/dump.f2fs.8 | 3 + > man/fsck.f2fs.8 | 3 + > man/inject.f2fs.8 | 46 +++- > 13 files changed, 555 insertions(+), 128 deletions(-) > _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
