From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=115.124.30.99 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796106134; b=L7fEL4+WQhJ5UAEtK4m5C/YCxuYlwwJ7815h2qFUOno4gSRVqMMxugh00rsYK0NLaNYd OgSIjQhz/y0qbrN/1npKy2nmQWVaLvmNdjkssauCJ6CkBcw0dFuMkyjRUyscI3gnBU9Fs +LLxLVDeJ2OrqSsRnUcEopqUZwZr1U/qrNrcCRZoqXtqUuep3kSpiuI9liexSR2QvD/4+ ZkOTA+1B2i1v6P6xAmL9/AePuwl6zxR6JXMTZb4E6fFiE+wx/LT0cTfdgHO8rWo9BhClc HyeiRieW0FG0fA02BM1bS/5B3+WRDm1P+wMBdYei/auAAtvN045gmh3SGffL+M8nuug== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796106134; h=DMARC-Filter:DKIM-Signature:X-Alimail-AntiSpam:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References:From: In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=YCSgQi++PptXUFTgtvNyyIR4YBJC2Viw6NkMRb82Ud0=; b=lfls/0QmxuVyfiS3hB/Fg3ruhOI57NGKY47zHu3piYMpDA6uwoi3+JFGWIciqFq91uue DRlT0PKlAlWPXls8CiEqutMUotOF3jhmv6xenAh1DhVpoInS1IFdtCwy8Fe7P655SdgsW 9SnqjXBrjSHlg98dD2AKdoP+hXPaVesV1lwzx+DG7/rZTVH5kRgjnca7Bch8KeXTaPCOJ NGtbiHEo8sh/pM4p7o+LZqq+ucaJjEbgky3mejFKkEcAk6x4gGQ/ROf1yQRhHM0xvERIv ZCj3zX+ACiWrGrimpHo/JaCfiC8Si7UhkwxtG9jElAwdSDfsuQh/czWPiVmNvv0Ou5A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass header.d=linux.alibaba.com header.i=@linux.alibaba.com header.a=rsa-sha256 header.s=default header.b="nUG/sm2l"; arc=none smtp.remote-ip=115.124.30.99 Received: from out30-99.freemail.mail.aliyun.com (out30-99.freemail.mail.aliyun.com [115.124.30.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 168D3606A31A for ; Tue, 1 Dec 2026 06:22:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 168D3606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.a=rsa-sha256 header.s=default header.b=nUG/sm2l DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1796106124; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=YCSgQi++PptXUFTgtvNyyIR4YBJC2Viw6NkMRb82Ud0=; b=nUG/sm2lKLH6XaqVdpThfuOnDklKddlfj6XvJXJldqk5WEf59XQOOcmVlLx18J7jDUdvahSSw/1Xifg11hNrGyfFI/XlFW7N+kmwPKkHBfNx08XXYXiw6X4sWTVrMT9lV/PuLZAi/lM0sgltHB+/IbEOenl7bWNEnq5bm9j5siU= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R311e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033040069076;MF=baolin.wang@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0XFultkz_1796106122; Received: from 30.74.144.135(mailfrom:baolin.wang@linux.alibaba.com fp:SMTPD_---0XFultkz_1796106122 cluster:ay36) by smtp.aliyun-inc.com; Tue, 01 Dec 2026 14:22:03 +0800 Message-ID: <40fa1a45-0347-4c86-bc64-d28be565c52b@linux.alibaba.com> Date: Tue, 1 Dec 2026 14:22:02 +0800 X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] Documentation: tmpfs: document casefold option constraints To: Tao Cui , 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 References: <20261123051629.2547645-1-cui.tao@linux.dev> <20261123051629.2547645-3-cui.tao@linux.dev> From: Baolin Wang In-Reply-To: <20261123051629.2547645-3-cui.tao@linux.dev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/23/26 1:16 PM, Tao Cui wrote: > From: Tao Cui > > 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 > --- Not a casefold expert, but this looks reasonable to me. Reviewed-by: Baolin Wang