Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5618434imw; Wed, 20 Jul 2022 09:04:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sbB8RjkpEcdICQsZtgw4w/0AoyP/L3DmBec5YoDG5hgOqjzKpgCJpekMpEP5LCz52VBvVn X-Received: by 2002:a17:906:4fc3:b0:72e:eab4:d9d7 with SMTP id i3-20020a1709064fc300b0072eeab4d9d7mr27082217ejw.599.1658333046514; Wed, 20 Jul 2022 09:04:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658333046; cv=none; d=google.com; s=arc-20160816; b=R7hKHp1YqhBpaRc0+Gn2Wugg1UWkmirE0XBN2i4V8N03ArSsVAEhMY8dmD4fQlDtEW HZIZ0ywYB4msV6F9H8O6NrWhtPBLoAQc9rQgSbpTKvSlpKth2+Acn/a9Zm7g0k/QMP3K hzffaMlXNzDwgtvP0h2HFneqrDEQEUnpP4j8K90iUO+Ym4QwuXcOyAg2Vv4wzdBUrUKx FTyItox7aA0ErT+z7YdsRQ3zMJdA+5a+44SblUeRnoK71JWn2hDTg3r03nH8W8DJxMAi IOmZHYWwFwvC9RbdHS56N4cLqEtUqcP0bvyVm+aClUeh3TuPQJ0BioldM1e4CjurbdzK HPSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hayOb/2khRpLgcQqaRbsNrhY6csqS2eGKwVckOZ18Pw=; b=bfkfpDaIeJI/Ga5WEJbARU6yF9PYKnBEdveU60PFZzVRzslxeL/T5N2oQ7s+yb95kX 78mVClRhm0vNIDfnV71Y+Kr9Ah6papCyl9hvukvjplRm+nk5pnmgUqJk3Kc6lfnxgbb3 6Zu1LPWcZ3HTUZZi46bq6dkXEDko+K2pFQAb2nQ3MnXHacLCFD3BxI5KtCsRj1yg0Wrh Rlbu7JpCMLyHr4rLIbFHzPWiI6KitYui8UqYVDMRfuE5VpK/fotvIYmFQgF+fmwqNsqp HpLUgR8Nz3Fag6h8LCWIPdveXwWj3jn/E6aAzwYL1Gw8eJ4YtbAfX6K6YbzEJpmBSiQ0 hyuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Exe6B4BP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dn15-20020a17090794cf00b0072f1c604fd4si1246958ejc.713.2022.07.20.09.03.35; Wed, 20 Jul 2022 09:04:06 -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=@redhat.com header.s=mimecast20190719 header.b=Exe6B4BP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232557AbiGTP42 (ORCPT + 99 others); Wed, 20 Jul 2022 11:56:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbiGTP41 (ORCPT ); Wed, 20 Jul 2022 11:56:27 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A2437474DC for ; Wed, 20 Jul 2022 08:56:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1658332585; 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=hayOb/2khRpLgcQqaRbsNrhY6csqS2eGKwVckOZ18Pw=; b=Exe6B4BPJYIL/D8XNtREk4U/is+Ilk/b3pnUyjbEAeIKOFJjDna7HB4EwJw7ablQ1gddbh KbUoOfqFEDPf1hECvHZgLzuhtvriyHL/x0UZEZ44LpIZ4EMzuuXpeo4ezjxbt1gwtMuwCL HUmUvr1RrhYRJRlBHXRheuxvwjrvmd0= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-152-ebRiIFFJMMObA379G1Esbg-1; Wed, 20 Jul 2022 11:56:15 -0400 X-MC-Unique: ebRiIFFJMMObA379G1Esbg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 32AB51019C98; Wed, 20 Jul 2022 15:56:15 +0000 (UTC) Received: from [172.16.176.1] (unknown [10.22.48.8]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 20376909FF; Wed, 20 Jul 2022 15:56:13 +0000 (UTC) From: "Benjamin Coddington" To: "Jeff Layton" Cc: "Lukas Czerner" , tytso@mit.edu, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-fsdevel Subject: Re: should we make "-o iversion" the default on ext4 ? Date: Wed, 20 Jul 2022 11:56:12 -0400 Message-ID: In-Reply-To: References: <69ac1d3ef0f63b309204a570ef4922d2684ed7f9.camel@kernel.org> <20220720141546.46l2d7bxwukjhtl7@fedora> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 20 Jul 2022, at 10:38, Jeff Layton wrote: > On Wed, 2022-07-20 at 16:15 +0200, Lukas Czerner wrote: >> >> Is there a different way I am not seeing? >> > > Right, implementing this is the difficult bit actually since this uses a > MS_* flag. If we do make this the default, we'd definitely want to > continue allowing "-o noiversion" to disable it. > > Could we just reverse the default in libmount? It might cause this to > suddenly be enabled in some deployments, but in most cases, people > wouldn't even notice and they could still specify -o noiversion to turn > it off. > > Another idea would be to introduce new mount options for this, but > that's kind of nasty from a UI standpoint. Is it safe to set SB_I_VERSION at export time? If so, export_operations could grow an ->enable_iversion(). Ben