Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
erofs-utils: mkfs: fix
-Eall-fragments
for multi-threaded compression
`may_packing` in __z_erofs_compress_one() is still bypassed when multi-threaded compression is enabled, which is unexpected. Furthermore, multi-threaded `-Eall-fragments,ztailpacking` can sometimes corrupt images. Let's fix it. Fixes: 882ad1c ("erofs-utils: mkfs: fix `-Eall-fragments` for multi-threaded compression") Fixes: 10c1590 ("erofs-utils: enable multi-threaded support for `-Eall-fragments`") Signed-off-by: Gao Xiang <[email protected]> Link: https://lore.kernel.org/r/[email protected]
- Loading branch information