Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4166581imw; Thu, 7 Jul 2022 13:59:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tyJnN/fUFT38cuQUhmeovz0BPzQMIpmba9HZvK0nl1ic1tTN50GBYnCzoOYCZ2HqQPznMG X-Received: by 2002:a17:906:7ac2:b0:726:38e0:4e7d with SMTP id k2-20020a1709067ac200b0072638e04e7dmr33066ejo.236.1657227584827; Thu, 07 Jul 2022 13:59:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657227584; cv=none; d=google.com; s=arc-20160816; b=j8PpXE4T4PtDyqsMLnJv8rejZykkHqoTfYtsHM4F+DCuI88LGrnxpobVODHS1xYFDv EaFzMPaLG/EQM2ll3ZzqYq5QuJwHaaF8xPdsmUfMTSdiiMTW+FG0TnokWJId84H1yQL3 yWloAVyVLC0hydy3NwMZHpqiJ6r+kIMJVhqhftAVRsaZhviPpHhhUoBQZegugwd27PX+ 6aUAxx3ROjEVXxkTPf3kIDOT4QJoWS2kqqzwsSK0a9762ZL5ntDMLoDE+PJd8nY0eXuu jyLe6eSriYNz0UzzYDJXOmiwxfl6pD1lmapc24q6XN8HAvswZOM6+vCnbILgGkV3yenT BU1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:mime-version:date :dkim-signature:message-id; bh=yroZ1cmSTrktepjPMGwbgW0hPIuNJsg+hBP/hopVWTA=; b=tW7aLv8mhqls+efjLRKRRzip4pvyIyjlc17ytaXOr1pKHrCOxEr4zm/3OKXAoT/+Tb HxFP7YtlQ8lcDZH4vsB6aSrwgILrb68Y5Fu4EF1NibhnUA9boFzQP4UH7+lgL4RJ6utr YGhDTdW6ATe5Xd6icTeEFV8O9PTEG5bzjQVudUgfEJ5Zqlt+pD6ke1fe1LmPIhmeSMML 02SYE0xroQzZoKopFPzPLh6g9kbMWFbRgMoEHGNg3i+5MY3DFtVLFLREGeq7QKoGXKEA ZFXYVZhXo47E0MMgwpYA0vEwKMZCvLM9cQUyPHnSpl2hvwZZba37oS+cacbkUaXFeSn/ TUVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bacher09.org header.s=reg header.b=nhorwB+O; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jr4-20020a170906a98400b00726fc3493e8si34355705ejb.854.2022.07.07.13.59.14; Thu, 07 Jul 2022 13:59:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bacher09.org header.s=reg header.b=nhorwB+O; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236194AbiGGUvZ (ORCPT + 99 others); Thu, 7 Jul 2022 16:51:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236542AbiGGUvY (ORCPT ); Thu, 7 Jul 2022 16:51:24 -0400 Received: from root.slava.cc (root.slava.cc [168.119.137.110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0366C2CE06 for ; Thu, 7 Jul 2022 13:51:23 -0700 (PDT) Message-ID: <856b44ac-c85e-07a4-bb3a-f38829b34d0a@bacher09.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bacher09.org; s=reg; t=1657227082; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yroZ1cmSTrktepjPMGwbgW0hPIuNJsg+hBP/hopVWTA=; b=nhorwB+Ofny+K75SA+IFgxi2fA3lzSpimzGXo0gJ/UeCko+W9CkeeP0mgc5vdW6WAbT68k vax+f+G6ey92RzA/JpQHslVciEK6Sy3BUcZQF9ktiI27bUxGPMGB6eQ1DPNBz28dvEghz7 Ffpe/x8TB37G9lgFDuZoL722wPcbHig= Date: Thu, 7 Jul 2022 23:51:19 +0300 MIME-Version: 1.0 Content-Language: en-US To: Eric Biggers Cc: tytso@mit.edu, linux-ext4@vger.kernel.org, krisman@collabora.com References: <20220707190456.64972-1-slava@bacher09.org> From: Slava Bacherikov Subject: Re: [PATCH v2] tune2fs: allow disabling casefold feature In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 07.07.2022 22:50, Eric Biggers wrote: > On Thu, Jul 07, 2022 at 10:04:56PM +0300, Slava Bacherikov wrote: > Also, what are the semantics of disabling casefold, exactly? Do the encoding > and encoding flags fields in the superblock also get cleared? > > - Eric Sorry, I've totally missed that. It worked just fine on a kernel compiled without casefold, because kernel is ignoring encoding if there is no casefold flag. And dumpe2fs wasn't showing character encoding on fs that had no casefold feature. Anyway, I've already updated patch. -- Slava Bacherikov