Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Baolin Wang <baolin.wang@linux.alibaba.com>
To: Tao Cui <cui.tao@linux.dev>,
	hughd@google.com, david@kernel.org, akpm@linux-foundation.org
Cc: linux-mm@kvack.org, andrealmeid@igalia.com, krisman@suse.de,
	linux-fsdevel@vger.kernel.org, Tao Cui <cuitao@kylinos.cn>
Subject: Re: [PATCH 2/2] Documentation: tmpfs: document casefold option constraints
Date: Tue, 1 Dec 2026 14:22:02 +0800	[thread overview]
Message-ID: <40fa1a45-0347-4c86-bc64-d28be565c52b@linux.alibaba.com> (raw)
In-Reply-To: <20261123051629.2547645-3-cui.tao@linux.dev>



On 11/23/26 1:16 PM, Tao Cui wrote:
> From: Tao Cui <cuitao@kylinos.cn>
> 
> The casefold and strict_encoding options require CONFIG_UNICODE (both
> are refused without it), strict_encoding must be given together with
> casefold, and availability can be probed via
> /sys/fs/tmpfs/features/casefold.  None of this was documented.
> 
> Also disclose that both options only take effect at initial mount and
> are ignored on remount: shmem_reconfigure() never looks at the parsed
> encoding, so e.g. "remount,casefold=utf8-12.1.0" succeeds without
> changing anything, the same way as the mode, uid and gid options.
> 
> Signed-off-by: Tao Cui <cuitao@kylinos.cn>
> ---

Not a casefold expert, but this looks reasonable to me.
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba>


  reply	other threads:[~2026-12-01  6:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23  5:16 [PATCH 0/2] tmpfs: fix casefold flag inheritance and document mount constraints Tao Cui
2026-11-23  5:16 ` [PATCH 1/2] shmem: do not inherit FS_CASEFOLD_FL onto non-directories Tao Cui
2026-12-01  6:09   ` Baolin Wang
2026-11-23  5:16 ` [PATCH 2/2] Documentation: tmpfs: document casefold option constraints Tao Cui
2026-12-01  6:22   ` Baolin Wang [this message]
2026-11-23 15:40 ` [PATCH 0/2] tmpfs: fix casefold flag inheritance and document mount constraints Gabriel Krisman Bertazi

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=40fa1a45-0347-4c86-bc64-d28be565c52b@linux.alibaba.com \
    --to=baolin.wang@linux.alibaba.com \
    --cc=akpm@linux-foundation.org \
    --cc=andrealmeid@igalia.com \
    --cc=cui.tao@linux.dev \
    --cc=cuitao@kylinos.cn \
    --cc=david@kernel.org \
    --cc=hughd@google.com \
    --cc=krisman@suse.de \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-mm@kvack.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