[PATCH] erofs: tidy up synchronous decompression
Chao Yu
chao at kernel.org
Mon Jan 12 20:16:49 AEDT 2026
On 1/12/2026 11:43 AM, Gao Xiang wrote:
> - 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>
Reviewed-by: Chao Yu <chao at kernel.org>
Thanks,
More information about the Linux-erofs
mailing list