[PATCH] erofs: tidy up synchronous decompression
Chunhai Guo
guochunhai at vivo.com
Tue Jan 20 13:24:13 AEDT 2026
在 1/12/2026 11:43 AM, Gao Xiang 写道:
> - Get rid of `sbi->opt.max_sync_decompress_pages` since it's fixed as
> 3 all the time;
>
> - Add Z_EROFS_MAX_SYNC_DECOMPRESS_BYTES in bytes instead of in pages,
> since for non-4K pages, 3-page limitation makes no sense;
>
> - Move `sync_decompress` to sbi to avoid unexpected remount impact;
>
> - Fold z_erofs_is_sync_decompress() into its caller;
>
> - Better description of sysfs entry `sync_decompress`.
>
> Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>
Acked-by: Chunhai Guo <guochunhai at vivo.com>
Thanks,
More information about the Linux-erofs
mailing list