[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ba295eb7-000d-4af7-bb8c-1db5aea30460@kernel.org>
Date: Mon, 12 Jan 2026 17:16:49 +0800
From: Chao Yu <chao@...nel.org>
To: Gao Xiang <hsiangkao@...ux.alibaba.com>, linux-erofs@...ts.ozlabs.org
Cc: chao@...nel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] erofs: tidy up synchronous decompression
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@...ux.alibaba.com>
Reviewed-by: Chao Yu <chao@...nel.org>
Thanks,
Powered by blists - more mailing lists