Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp133870iob; Tue, 17 May 2022 21:23:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvA0Pv8khVhJ+XU9ANGy7TU+he3WAaNCo3YUs09JksU7lccxGmijsQHTLoLO+5RX6pShP0 X-Received: by 2002:a63:7d04:0:b0:378:fb34:5162 with SMTP id y4-20020a637d04000000b00378fb345162mr22278947pgc.487.1652847789120; Tue, 17 May 2022 21:23:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652847789; cv=none; d=google.com; s=arc-20160816; b=S22m0lm/fts2PbQz5s2Lf6i4XYcI/f1EPeLoUxn7FFRLDqGasiB2AzO1oz+ND1jGFi CTWue9lYtioX7iEAEG22/895xoI2gUOTZTmZmQvk/50trii8lVdZeSQ+IqpHkP+MJko7 QDqlsYJHEJfl/wotURYmbq/4CvY/Oev6A3atoTGKmdY3Mgp6URtaZv6+eufFIAIBGBjh v9+9UnBkXL8WMXHf4ZQm8YK3CSp3qo9sw1ms8n/zWUMovdUKmmlPUCuKlKZ15uvJXQxF xXk5tWAvDQtRD7x6KIiza2ICecOVZoSU7ryg2xKGzjb/guBfZyK/lkXEjXRgtEs0+q7E m+VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:organization:subject:cc:to:from:dkim-signature; bh=8/+x3vzbrMNcnz1n+GLFzwNBAsTVFdJPfgK2PM6XggE=; b=IvbbYJS8aiOBcdTXU/bMhMMvZvChk+77Q3bSbcXPUrap2e4NKWGRbiyR+oGP5eSPUK 7Gg1RSC4mCi413S7QmhsTsPW8rlQad/qr7XCZLAmKwu7Cy8FIrCteQtz7wrbYb6CqGE1 NEXNnF8odSfnsnz3w246+vcRxtmWA5aL4qg8zQgMJuiVxi69CK3fW4oQvbqwym76bwxy AFEwWvGyt/9OCGyKuXWEgXbxJmK3hjbJtAbKoyN6DZF+MvCtoCcXpV9w5IfBa7C0vts5 mc+hB9ZXrRiqZRXVqhLEt+n3d5+RsJmAnCKNlgZajA0MQzZ3PO8BLyO/hb/5Q5bs/KfR qa9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=MNzP6OhN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s4-20020a17090a760400b001dcddce9c40si5008063pjk.143.2022.05.17.21.23.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 21:23:09 -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=pass header.i=@collabora.com header.s=mail header.b=MNzP6OhN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 23BCA49F83; Tue, 17 May 2022 20:47:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343653AbiEQT5O (ORCPT + 99 others); Tue, 17 May 2022 15:57:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347718AbiEQT5N (ORCPT ); Tue, 17 May 2022 15:57:13 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6C5C522C2 for ; Tue, 17 May 2022 12:57:10 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: krisman) with ESMTPSA id 594B31F4404A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1652817428; bh=OWXF6pN1PKCgd1hX+us24uD4Px7KYa/a9N/AE+rwvM4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=MNzP6OhNLXZ5yDXAQu5rueURwO2Uxu1GS86MzOjPufuvaNR9Q7nnkzH0RcByRFwAL XMfTwYuZ7UM3DgKVUwqlWcNvFs/vrPrzssPlBcjIY11866UwSxMHJcETkHJH+cwYcW MNBqilZDb+k5CZqGqVFjGwQRbY7EQ9QOEC0gjUB1t8her9T3p0PusulQScw8ffCHud bmEsilcAsOBVfaMoKtmtZ8Wk1eD7UCX8dKX9s2UNiqAN52rb00tWSPEO4tOkI8r61u qMfna+TLKoTGVPqOJJ/HP/1rP/wdwIrilQhv7AIKTYuOFPgxOnv5HFyy0gza8edrTi q1AadYCLotVbA== From: Gabriel Krisman Bertazi To: "Theodore Ts'o" 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 Organization: Collabora References: <20220511193146.27526-1-krisman@collabora.com> Date: Tue, 17 May 2022 15:57:05 -0400 In-Reply-To: (Theodore Ts'o's message of "Tue, 17 May 2022 15:37:48 -0400") Message-ID: <87y1z0vsoe.fsf@collabora.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY 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 "Theodore Ts'o" writes: > 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. Hi Ted, I'll be reworking the series to apply Eric's comments and I might render patch 1 unnecessary. I'd be happy to send a v5 for the whole thing instead of applying the first two now. Thanks, -- Gabriel Krisman Bertazi