From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20E738460 for ; Fri, 12 Dec 2025 01:17:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765502228; cv=none; b=QF/iDhZHaF/k79pJDohBbXMAIx4iLzShM2PmpkXbKf/LjDafn/itpp/zbGEL/V1pBwYKlkt07wjub60PCoa4UC/KQprZroifLOxTAuy9K3ALcWclkcgI90hpLZZGsqexWV9F3QpbyXQu8aHeLgEwsI7vJ42mQiZUS0VLi4d2vNI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765502228; c=relaxed/simple; bh=9TYcESrho76VKCg838GHOj8IUeqDDF8vAva70L9A6Vk=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=Fqhh1V3RtY6kdNF3teIwsPno2YJUE/DOZLwKOgfhW4J177a0tha9Q637RbRx2XiPDTkCaM5pmNNmkXR+esIRBZsmh80DBgp6cuFYJaW92XMVvWBIt1XsiFQhInPx4UwcjqiUFBViAIDHhYF2+aoIXy/pwVoAWn04LJFN2OHEuL8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nqJwQp5Q; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nqJwQp5Q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 727D6C4CEF7; Fri, 12 Dec 2025 01:17:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1765502227; bh=9TYcESrho76VKCg838GHOj8IUeqDDF8vAva70L9A6Vk=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=nqJwQp5QSeGa3hRc6KjJL+9+fUYZYnW0oHmhfUUkunQbQ8h65WbLGl/zyyXcWgkQF 5F959l/cUfqSr+LhKyC4UwHdb/xQCReAtU+2QRsidg4k/VOYxPqt1FWr/3MCTW9Duv 1ete7RcN0Avf/kkyPlY4tZFx6c32gM45p+KnzCWkbdDXIieLBwDnfoYvYtxJieyn4j QsgWfRrhJYWWmo824FHJtHTlfJH7NNK4NQKIgcdDbLbQmPFrtyCFpyl+3FoZ2uKbKY 2xz6UwdsWURKc5ySw0nQO0g+Rhkvi0VFqchZ/o6f64KB4SIg1+5vnDEZYFZPtu3x8Q 2kp29hA9EVwaA== Received: from phl-compute-10.internal (phl-compute-10.internal [10.202.2.50]) by mailfauth.phl.internal (Postfix) with ESMTP id 9D260F40074; Thu, 11 Dec 2025 20:17:06 -0500 (EST) Received: from phl-imap-15 ([10.202.2.104]) by phl-compute-10.internal (MEProxy); Thu, 11 Dec 2025 20:17:06 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvieekgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvvefkjghfufgtgfesthejredtredttdenucfhrhhomhepfdevhhhutghk ucfnvghvvghrfdcuoegtvghlsehkvghrnhgvlhdrohhrgheqnecuggftrfgrthhtvghrnh ephfffkefffedtgfehieevkeduuefhvdejvdefvdeuuddvgeelkeegtefgudfhfeelnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheptghhuhgtkh hlvghvvghrodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdduieefgeelleel heelqdefvdelkeeggedvfedqtggvlheppehkvghrnhgvlhdrohhrghesfhgrshhtmhgrih hlrdgtohhmpdhnsggprhgtphhtthhopedufedpmhhouggvpehsmhhtphhouhhtpdhrtghp thhtoheprgguihhlghgvrhdrkhgvrhhnvghlseguihhlghgvrhdrtggrpdhrtghpthhtoh epsghrrghunhgvrheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepvggsihhgghgvrhhs sehkvghrnhgvlhdrohhrghdprhgtphhtthhopehhihhrohhfuhhmihesmhgrihhlrdhprg hrkhhnvghtrdgtohdrjhhppdhrtghpthhtohepthihthhsohesmhhithdrvgguuhdprhgt phhtthhopegthhhutghkrdhlvghvvghrsehorhgrtghlvgdrtghomhdprhgtphhtthhope grlhhmrgiirdgrlhgvgigrnhgurhhovhhitghhsehprghrrghgohhnqdhsohhfthifrghr vgdrtghomhdprhgtphhtthhopehvohhlkhgvrhdrlhgvnhguvggtkhgvsehsvghrnhgvth druggvpdhrtghpthhtoheplhhinhhugidqvgigthegsehvghgvrhdrkhgvrhhnvghlrdho rhhg X-ME-Proxy: Feedback-ID: ifa6e4810:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 7834B780054; Thu, 11 Dec 2025 20:17:06 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ThreadId: AG4gnELdBCjJ Date: Thu, 11 Dec 2025 20:16:45 -0500 From: "Chuck Lever" To: "Eric Biggers" Cc: "Alexander Viro" , "Christian Brauner" , linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, hirofumi@mail.parknet.co.jp, almaz.alexandrovich@paragon-software.com, tytso@mit.edu, adilger.kernel@dilger.ca, Volker.Lendecke@sernet.de, "Chuck Lever" Message-Id: <9f30d902-2407-4388-805b-b3f928193269@app.fastmail.com> In-Reply-To: <20251211234152.GA460739@google.com> References: <20251211152116.480799-1-cel@kernel.org> <20251211152116.480799-2-cel@kernel.org> <20251211234152.GA460739@google.com> Subject: Re: [PATCH v2 1/6] fs: Add case sensitivity info to file_kattr Content-Type: text/plain Content-Transfer-Encoding: 7bit On Thu, Dec 11, 2025, at 6:41 PM, Eric Biggers wrote: > On Thu, Dec 11, 2025 at 10:21:11AM -0500, Chuck Lever wrote: >> +/* Values stored in the low-order byte */ >> +enum fileattr_case_folding { >> + /* Code points are compared directly with no case folding. */ >> + FILEATTR_CASEFOLD_NONE = 0, >> + >> + /* ASCII case-insensitive: A-Z are treated as a-z. */ >> + FILEATTR_CASEFOLD_ASCII, >> + >> + /* Unicode case-insensitive matching. */ >> + FILEATTR_CASEFOLD_UNICODE, >> +}; > > What does "Unicode case-insensitive matching" mean? There are many > different things it could mean: there are multiple types of Unicode > normalization, Unicode case-folding, NTFS's upper case table, etc. > There are also multiple versions of each. This is left over from the RFC version of the series, and can be removed. > I see you're proposing that ext4, fat, and ntfs3 all set > FILEATTR_CASEFOLD_UNICODE, at least in some cases. > > That seems odd, since they don't do the matching the same way. The purpose of this series is to design the VFS infrastructure. Exactly what it reports is up to folks who actually understand i18n. -- Chuck Lever