Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp110243iob; Tue, 17 May 2022 20:32:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4DAKmUsYfNJvmtX1gOJMbn0yc9uuH+W2b9XqB01Tgp/PNF9BkgAfqvwYftRbCU79ecX5R X-Received: by 2002:a63:e50b:0:b0:3f5:e132:4526 with SMTP id r11-20020a63e50b000000b003f5e1324526mr3338637pgh.506.1652844728542; Tue, 17 May 2022 20:32:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652844728; cv=none; d=google.com; s=arc-20160816; b=lVoME3as+i2lj4VtOwJA0y8+lZzwaR8UeajkAo6KM1IXxXOIJKEDBylHmxJCMlD+ad ZnAcDOdrtVUhI/S7rtzEi7Sn303zLhtp3CQSH9ysSa3BFdc4LZMns9zfAOQ9afSVcsIJ /JLQ6c5BoOkHojeTlzeDBwqX7HAhR2qDVOGdRCsk5wazfAoNtbbtpg9UXNvqWYxg6NZN +u93EU8X5YghgeG3pUzbDLFhNILEWPql1vm9KYvJBIVD+5lg2zT4mEgVdDYNRoI1J2Xa JuuJHcGpM/A1gjEyHUhrvyRmsNdjkwAzJ7orIxYQmiFkbFwyYX2mf3VKc5952LHBHC7w FpWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gjF3UmMC4ZyoJnTzFcqn/F3r7v+E//TAc0+qhfAKPdA=; b=R4YOG+yL3xeHrlXUsCKLy09otgR4Oa7Cwr/7Uyo20ZWC4QUbeNTX9yKLbsYe3EXTbg Ue/dN2VvrsQsLVlUH3WmO91n43NvLPFEahksqw84Yv6BTzyY5C8gyhR+5CUCHOsCuitH r16z/wJNqDBYUbuARpJ2s7ycVw1arq4+4l/sfo201W9DQyhemN4L8Je9D2dLj9nGv048 I9KwE3nBYQkU6qvKt5ydsROv8Zk+1JdacMKW5o596g4O8qHeRHNHDv98TH5m4UP/WZBB RZCxWKekWK1Z3Lt3IgHd21TRV6BoNNAnUKm6JZzi0uvB4y0dMm4VyhqAyKGJzUIBHhS6 8RIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b="YWZ6i/3I"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id t78-20020a635f51000000b003c14249f5d4si1113042pgb.135.2022.05.17.20.32.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 20:32:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b="YWZ6i/3I"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 143D061606; Tue, 17 May 2022 20:25:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244137AbiEQTi2 (ORCPT + 99 others); Tue, 17 May 2022 15:38:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245285AbiEQTiZ (ORCPT ); Tue, 17 May 2022 15:38:25 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D249D515A8 for ; Tue, 17 May 2022 12:38:20 -0700 (PDT) Received: from cwcc.thunk.org (pool-108-7-220-252.bstnma.fios.verizon.net [108.7.220.252]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 24HJbmKM032272 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 May 2022 15:37:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1652816271; bh=gjF3UmMC4ZyoJnTzFcqn/F3r7v+E//TAc0+qhfAKPdA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=YWZ6i/3IdBGwr4SyraXxcIhbLRAbOxr0dvLm3I5n7e241sNy6Ch6v2KncDvUDSpbR Lmro19q8OiJ7hQ1ll443cFRi1fn/I/p+bBFI890xz/sexmaPab50F9RXxg64+H8J47 uS3Zr0VojaZnDQOW8Whwh64YGpaxbrgNZnTzb+qzbu0BQ9DUb03W9832yvasiOZCzD M6fEzqU1r6+viwSH+VTMnMShnFWGl7Ms9Z/CsxocpvZ2L3HWgmRMSzk0MLXa+JoqXf +QiW2Mmw4aa5SomGy3ojp3XS90hFpxQlHepDewrXiflqfjJZB8/hY46Ath5vzgbNTr C07Yz1RX0YpIQ== Received: by cwcc.thunk.org (Postfix, from userid 15806) id 651DE15C3EC0; Tue, 17 May 2022 15:37:48 -0400 (EDT) Date: Tue, 17 May 2022 15:37:48 -0400 From: "Theodore Ts'o" To: Gabriel Krisman Bertazi Cc: adilger.kernel@dilger.ca, jaegeuk@kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, ebiggers@kernel.org, kernel@collabora.com Subject: Re: [PATCH v4 00/10] Clean up the case-insensitive lookup path Message-ID: References: <20220511193146.27526-1-krisman@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220511193146.27526-1-krisman@collabora.com> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, May 11, 2022 at 03:31:36PM -0400, Gabriel Krisman Bertazi wrote: > The case-insensitive implementations in f2fs and ext4 have quite a bit > of duplicated code. This series simplifies the ext4 version, with the > goal of extracting ext4_ci_compare into a helper library that can be > used by both filesystems. It also reduces the clutter from many > codeguards for CONFIG_UNICODE; as requested by Linus, they are part of > the codeflow now. > > While there, I noticed we can leverage the utf8 functions to detect > encoded names that are corrupted in the filesystem. Therefore, it also > adds an ext4 error on that scenario, to mark the filesystem as > corrupted. Gabriel, are you planning on doing another version of this patch series? It looks like the first two patches for ext4 are not controversial, so I could take those, while some of the other patches have questions which Eric has raised. Thanks, - Ted