Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5622307imw; Wed, 20 Jul 2022 09:07:30 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v96q89PFmhSvXn8SIChGqAL4aaopdklIbWfsWrD0xo/XsMHN96Mmd10ZDg0+KVvEz7vRwv X-Received: by 2002:a67:ec50:0:b0:357:79d0:a632 with SMTP id z16-20020a67ec50000000b0035779d0a632mr13081919vso.82.1658333250119; Wed, 20 Jul 2022 09:07:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658333250; cv=none; d=google.com; s=arc-20160816; b=xnCFZ6eEPaIw7Ws7vSPpHuBPAAFdNnsNz1bG3ckwnEvu9tznJQj3k6jpMXxbZZXdrP LntZCmoM9WHYX9HbsYxPHNk72TX2d0NGdNyhJjRI+nUvVMrDs/eryAFOfgFHOUvBX4ig vsd4M/f8dmgD+3vuXDB/EWHjrNVYfDdw1fucVg2Y92KWt3Bd9hbjCu9DJinEib6QjiIY hA39YBfWrqsvDx40dq39E45wyBwbIULr6rd7ytJLE2GPhSs7FzLTWU9ooMgBdhsHwdlJ Z8PQlom0P+VV3VsHGk6Pc9fVAANpz1C636HakJ1B/IhZAdVcz9GIG99i+nUtROAMduGc qAjw== 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=om8igKivCP5XVZgyhEUjQhwHvFBHsWpIEztRwfONss0=; b=SLMHfCB5J0PIdSmHMIoHaS5DwQFbmkCgLd/8VSpHVEF4Klaj0lcAvZM4+Kf3JCgn8t tjXdAZN0Uh736wE4yePkc7gy7W4EiNGiKimlfyr1KVEhkVnQzETWeRVAaYk7Y6dfn/4v HjBy7oVvfgyvIZPjmN+HBvm2yeSo/zZ1nzp1uH99soOO/mSzpPdMo2qE42t4EGidULpD IM8bg0kkVlR/LksI57BCz04FjxRPZyPZACxxjMikndUXfu35i3Z3FzBdIctLumEOvZ0A qZtZJaOfu5bc8po5CrvRSjV+T2vNm58/W2Mgf/JoI6SUbRYXvNV7/floXrxqZ65MguL2 IICA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=m2RAMuJB; 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 k12-20020a056102004c00b003542d4c6d76si3127641vsp.159.2022.07.20.09.07.12; Wed, 20 Jul 2022 09:07:30 -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=@infradead.org header.s=bombadil.20210309 header.b=m2RAMuJB; 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 S229899AbiGTQGh (ORCPT + 99 others); Wed, 20 Jul 2022 12:06:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229552AbiGTQGh (ORCPT ); Wed, 20 Jul 2022 12:06:37 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1AC92BB23; Wed, 20 Jul 2022 09:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=om8igKivCP5XVZgyhEUjQhwHvFBHsWpIEztRwfONss0=; b=m2RAMuJBVok9ymb+Hr0TEhVomd 3d7j694mo09M1D98WK7G1jTc9QtndojVCN7TJeF1ZRpXJN/u9vKAYYhp0S1uS6HM3udhEvor37pnT qexCrQ5tAt588EDQ6loC1JrL4vfYDpLgmn6xG/Nwp54uaGfn70+UL4xd4otIVBF6Nz5ZWyxJUj6oq XiQfro6SVkB/5kyqpm6Lq1f4vmNFbyukwXnh4fru1IKpBU4CroZk+EYlrKZEvVRb9AYoSG6K1Qn21 p3GN+4ZDmXOTE+3xie0yifv97Y/ogaVrykgatzQKP8zD1s9Tcoq/lD80cA1S49qjUNnceJcktjO5H PHED46jQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oECDO-007xT4-0U; Wed, 20 Jul 2022 16:06:22 +0000 Date: Wed, 20 Jul 2022 09:06:21 -0700 From: Christoph Hellwig To: Benjamin Coddington Cc: Jeff Layton , 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 ? Message-ID: References: <69ac1d3ef0f63b309204a570ef4922d2684ed7f9.camel@kernel.org> <20220720141546.46l2d7bxwukjhtl7@fedora> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_NONE 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 On Wed, Jul 20, 2022 at 11:56:12AM -0400, Benjamin Coddington wrote: > > 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(). No, it's not. Think of unexporting, modifying thing and re-exporting and now the client will see the same change counter for a modified file.