Hi Darrick, Thanks very much for the patch. I applied it to the git-master and built e2fsprogs. The new "make check" test for "f_convert_bmap_sparse" passes, and indeed my test-case script now passes. However the test for "f_detect_junk" is failing for me: --- $ cat f_detect_junk.failed --- ../../tests/f_detect_junk/expect 2017-05-24 08:58:29.025273717 +0000 +++ f_detect_junk.log 2017-05-24 09:23:41.426168239 +0000 @@ -13,6 +13,7 @@ *** debugfs test.img: Bad magic number in super-block while opening filesystem +Checksum errors in superblock! Retrying... *** tune2fs ../misc/tune2fs: Bad magic number in super-block while trying to open test.img *** mke2fs --- I think the expect test maybe just needs updating. I will now try the patched e2fsck on the full data-migration process I'm doing and report back. This will take a few hours. Kind Regards, Marc