Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp471110ybt; Fri, 19 Jun 2020 06:19:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+3m/juFezOUnl2wWYQnnvVDut261cPiJaF4mp1UvXXDUNZXnLl3iRiGVMXNPCpNUZz83o X-Received: by 2002:a50:f106:: with SMTP id w6mr3326160edl.131.1592572759430; Fri, 19 Jun 2020 06:19:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592572759; cv=none; d=google.com; s=arc-20160816; b=RbxkFVOi4bTlkd6Aeai8y3G/7p6/xXoJWdbMdsxLC7U0kpKPZQOM9kMSSAcVPHh2Fz 87Zx3BuUiW/h0IHgIOw93pr8bdgW26yEwD9NlRjPTv83hOxUOe4//KyCv2uzOrMJ9QJY HjS5XLJoxJ7eu5yGSpHa13LrMbWdKL/2/UzYc2px2G26Ug5pQyNM3fAitK8P4B1LVST2 NYxfMwaGlhBdJDxyrU69Ts/QzTRacAllQOw0NCyKutOujCVIoC14rYQ4C+S4lRNpDbtV k8t//TlcULZHQzIqF+9oi6ejD2ql+g0/xD+o9aHd+fquT3zwXMj5B+/blAcIbfWsB+pB B80Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=nk4pUac2lDNTajxLog7MnFC0ty5sPArKeQyTpTonniE=; b=u410ri0jWiO1mBN5Hiykgo1vkWPX+vjhqwNnEw4i/nG3xMbvsJ9Vjh4gLZScGmJ3bQ RSCb1I9B/Q+GrN39Mf+bAxP9sYBdkOMzuKPT9Iw8bxNWF+OqI/8kaT32M5+8WQc661c4 e7Hk6IySB+Xc31P1lAQUziRzPRpzqZM1x4s4BL8I9DrfMAL1bK7i5nYRtIVfRlZ1nnOX +yWapEQN0t5walOCTav7XX4gZCh+T5RVXbYIuH3h1zBveiL/+fSx6TohXnjrfpLRKrAq GlGaA/r+P02fR+AJdlHzvdnZyszNr2X8tbH68i6PiyVHlHKSMX0KmWaaefNGKjEKIyAm LYgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=PVOkZfJT; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f19si3789635ejc.31.2020.06.19.06.18.52; Fri, 19 Jun 2020 06:19:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=PVOkZfJT; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731806AbgFSNR1 (ORCPT + 99 others); Fri, 19 Jun 2020 09:17:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731600AbgFSNRY (ORCPT ); Fri, 19 Jun 2020 09:17:24 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 826D2C06174E; Fri, 19 Jun 2020 06:17:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; 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=nk4pUac2lDNTajxLog7MnFC0ty5sPArKeQyTpTonniE=; b=PVOkZfJT6ytrDRAE5mCX88ZpvZ lvRgDfWk79jZWlHsEmjQNISZHl3un1MJcmB+Kz61yO/K+lqo7z1trEgNZWXNLKsjTAsT8rQCO+dn4 VUqBaEOanAS62dXjFbFhFdf5NTqmKxIEwgF0ijPIlr+J3C/msE/dCN1SS8tPY9yJORCObWJvAC97E KcE45JBuPsDUhb3UenlVYRf5l01v23mVHwIfByBnS1j/TRMY/ffxsEp0jbyTKD7BVrhau5YmUubfP pmbStFswGLHO919sNEDLG0Yi3prfJm0I27WOLN+TO7FKTH7DdwbEXeFGlRDFrqO+YAPu0aNXv3KGf hQPWCnvw==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jmGtN-0006oh-4P; Fri, 19 Jun 2020 13:17:13 +0000 Date: Fri, 19 Jun 2020 06:17:13 -0700 From: Christoph Hellwig To: Dave Chinner Cc: Masayoshi Mizuma , "J. Bruce Fields" , Eric Sandeen , "Darrick J. Wong" , Christoph Hellwig , Theodore Ts'o , Andreas Dilger , Alexander Viro , Masayoshi Mizuma , linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-xfs Subject: Re: [PATCH] fs: i_version mntopt gets visible through /proc/mounts Message-ID: <20200619131713.GA15982@infradead.org> References: <24692989-2ee0-3dcc-16d8-aa436114f5fb@sandeen.net> <20200617172456.GP11245@magnolia> <8f0df756-4f71-9d96-7a52-45bf51482556@sandeen.net> <20200617181816.GA18315@fieldses.org> <4cbb5cbe-feb4-2166-0634-29041a41a8dc@sandeen.net> <20200617184507.GB18315@fieldses.org> <20200618013026.ewnhvf64nb62k2yx@gabell> <20200618030539.GH2005@dread.disaster.area> <20200618034535.h5ho7pd4eilpbj3f@gabell> <20200618223948.GI2005@dread.disaster.area> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200618223948.GI2005@dread.disaster.area> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, Jun 19, 2020 at 08:39:48AM +1000, Dave Chinner wrote: > This will prevent SB_I_VERSION from being turned off at all. That > will break existing filesystems that allow SB_I_VERSION to be turned > off on remount, such as ext4. > > The manipulations here need to be in the filesystem specific code; > we screwed this one up so badly there is no "one size fits all" > behaviour that we can implement in the generic code... Yes. SB_I_VERSION should never be set by common code.