mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chunhai Guo <guochunhai@vivo.com>
To: Gao Xiang <hsiangkao@linux.alibaba.com>,
	Chunhai Guo <guochunhai@vivo.com>,
	"xiang@kernel.org" <xiang@kernel.org>
Cc: "chao@kernel.org" <chao@kernel.org>,
	"huyue2@coolpad.com" <huyue2@coolpad.com>,
	"jefflexu@linux.alibaba.com" <jefflexu@linux.alibaba.com>,
	"dhavale@google.com" <dhavale@google.com>,
	"linux-erofs@lists.ozlabs.org" <linux-erofs@lists.ozlabs.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] erofs: add sysfs node to control cached decompression strategy
Date: Mon, 11 Nov 2024 11:10:06 +0000	[thread overview]
Message-ID: <e1b73e98-496c-4d39-b8b0-232cffa266ec@vivo.com> (raw)
In-Reply-To: <0fa61236-e84b-4a3d-9804-612b33d166da@linux.alibaba.com>

在 2024/11/11 10:28, Gao Xiang 写道:
> Hi Chunhai,
>
> On 2024/11/1 20:42, Chunhai Guo wrote:
>> Add sysfs node to control cached decompression strategy, and all the
>> cache will be cleaned up when the strategy is set to
>> EROFS_ZIP_CACHE_DISABLED.
>>
>> Signed-off-by: Chunhai Guo <guochunhai@vivo.com>
> I guess remount could also change the decompression strategy?
> Or there are some other concern that remount is not usable
> for your use cases?
Yes, remount can change the strategy. However, the cache will not be 
cleaned when the strategy is changed to EROFS_ZIP_CACHE_DISABLED. I will 
make another patch to address this during remount. Thank you for your 
suggestion.
>
> Thanks,
> Gao Xiang



  reply	other threads:[~2024-11-11 11:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-01 12:42 Chunhai Guo
2024-11-11  2:28 ` Gao Xiang
2024-11-11 11:10   ` Chunhai Guo [this message]
2024-11-12  1:06     ` Gao Xiang

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=e1b73e98-496c-4d39-b8b0-232cffa266ec@vivo.com \
    --to=guochunhai@vivo.com \
    --cc=chao@kernel.org \
    --cc=dhavale@google.com \
    --cc=hsiangkao@linux.alibaba.com \
    --cc=huyue2@coolpad.com \
    --cc=jefflexu@linux.alibaba.com \
    --cc=linux-erofs@lists.ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xiang@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®