mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chao Yu <chao@kernel.org>
To: Gao Xiang <hsiangkao@linux.alibaba.com>, linux-erofs@lists.ozlabs.org
Cc: chao@kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] erofs: tidy up synchronous decompression
Date: Mon, 12 Jan 2026 17:16:49 +0800	[thread overview]
Message-ID: <ba295eb7-000d-4af7-bb8c-1db5aea30460@kernel.org> (raw)
In-Reply-To: <20260112034330.2263034-1-hsiangkao@linux.alibaba.com>

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@linux.alibaba.com>

Reviewed-by: Chao Yu <chao@kernel.org>

Thanks,

      reply	other threads:[~2026-01-12  9:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-12  3:43 Gao Xiang
2026-01-12  9:16 ` Chao Yu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ba295eb7-000d-4af7-bb8c-1db5aea30460@kernel.org \
    --to=chao@kernel.org \
    --cc=hsiangkao@linux.alibaba.com \
    --cc=linux-erofs@lists.ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®