Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2023122ybh; Tue, 14 Jul 2020 13:30:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2LWneo/YDOueoUeCQpX0CV0JOGa+BIv68CvdNOD/XNb9f2OEFEqK47GVYQOv3uExlP4V0 X-Received: by 2002:a17:906:8601:: with SMTP id o1mr6356223ejx.326.1594758634372; Tue, 14 Jul 2020 13:30:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594758634; cv=none; d=google.com; s=arc-20160816; b=z8J7/W1QpzEhpYTk80mskcQ077DwtxP7ecpd31a1VTmFXCcMwj8FY93thxt0MxkCLS gAmwe1TvaTOjx34JpkHExJ3NmnfJSiQb4jmqA7eZHrLUNZcZmUUOk+diRlhdOq/dthn3 PIGxWZDunNQnNn/YQJljzouert5uPDrBf+s8S+wYWV/YtdlxY6YEf6WPbAD9t9KvZ1Wa g2afOP9hJ/irwvPmNrvtSOTH+rRyXbJf2TnuMJyFf3S016nDWrJ4p48n4EFTXFTI4KdE yF5G6YIMKrb2IW9x3aEmB+HAuEWaYcuawW68rHBbxWG7My9Y2R+2gglGrSJrd+Xvnbz3 fPWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject; bh=AZ6QkdBxPU2FDX2uHKinukHKg864KebwSI8a3xQv/wQ=; b=wc9DVmbdOP3JURLCKAzEtpobuGYcOdffba8rIowbwIOO+orERcL0ZDOhDZH4+yvAk1 bP3xmp3zUBk7ZB8DVCbUWDXDcL3sMI3wU02j8zw4Y9ubQ0N4zNo8TdwYKFRgKUIEwtze dg01J8VBQXWewlI5j+JLlfkxCxP1Pzbvgqy/ICFDNW1uvdPm6O90ZYLHnTvwLELU6LWn ZWYCudHvxCa7l6IF9zjmyVa+558b666XrqcCdC3qRKiyZF+z3bSG6f2wffuh2VMe0yQE n9tBaV/6FWNVe+peuDMjY22VKT0lUXc7v/jqCrWagURZ4VHZtai0Y+x8vfcIoo7GcCLA he+w== ARC-Authentication-Results: i=1; mx.google.com; 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 w21si9018137ejq.495.2020.07.14.13.29.59; Tue, 14 Jul 2020 13:30:34 -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; 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 S1725931AbgGNU0l (ORCPT + 99 others); Tue, 14 Jul 2020 16:26:41 -0400 Received: from sandeen.net ([63.231.237.45]:33786 "EHLO sandeen.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725877AbgGNU0k (ORCPT ); Tue, 14 Jul 2020 16:26:40 -0400 Received: from Liberator.localdomain (unknown [50.34.173.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by sandeen.net (Postfix) with ESMTPSA id 9C2EC2AEC; Tue, 14 Jul 2020 15:25:58 -0500 (CDT) Subject: Re: [PATCH] fs: i_version mntopt gets visible through /proc/mounts To: Christoph Hellwig Cc: Dave Chinner , Masayoshi Mizuma , "J. Bruce Fields" , "Darrick J. Wong" , Theodore Ts'o , Andreas Dilger , Alexander Viro , Masayoshi Mizuma , linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-xfs References: <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> <0404aff7-a1d9-c054-f709-521458d7901d@sandeen.net> <20200714083000.GA31189@infradead.org> From: Eric Sandeen Autocrypt: addr=sandeen@sandeen.net; prefer-encrypt=mutual; keydata= mQINBE6x99QBEADMR+yNFBc1Y5avoUhzI/sdR9ANwznsNpiCtZlaO4pIWvqQJCjBzp96cpCs nQZV32nqJBYnDpBDITBqTa/EF+IrHx8gKq8TaSBLHUq2ju2gJJLfBoL7V3807PQcI18YzkF+ WL05ODFQ2cemDhx5uLghHEeOxuGj+1AI+kh/FCzMedHc6k87Yu2ZuaWF+Gh1W2ix6hikRJmQ vj5BEeAx7xKkyBhzdbNIbbjV/iGi9b26B/dNcyd5w2My2gxMtxaiP7q5b6GM2rsQklHP8FtW ZiYO7jsg/qIppR1C6Zr5jK1GQlMUIclYFeBbKggJ9mSwXJH7MIftilGQ8KDvNuV5AbkronGC sEEHj2khs7GfVv4pmUUHf1MRIvV0x3WJkpmhuZaYg8AdJlyGKgp+TQ7B+wCjNTdVqMI1vDk2 BS6Rg851ay7AypbCPx2w4d8jIkQEgNjACHVDU89PNKAjScK1aTnW+HNUqg9BliCvuX5g4z2j gJBs57loTWAGe2Ve3cMy3VoQ40Wt3yKK0Eno8jfgzgb48wyycINZgnseMRhxc2c8hd51tftK LKhPj4c7uqjnBjrgOVaVBupGUmvLiePlnW56zJZ51BR5igWnILeOJ1ZIcf7KsaHyE6B1mG+X dmYtjDhjf3NAcoBWJuj8euxMB6TcQN2MrSXy5wSKaw40evooGwARAQABtCVFcmljIFIuIFNh bmRlZW4gPHNhbmRlZW5Ac2FuZGVlbi5uZXQ+iQI7BBMBAgAlAhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgAU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pA== Message-ID: Date: Tue, 14 Jul 2020 13:26:17 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200714083000.GA31189@infradead.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On 7/14/20 1:30 AM, Christoph Hellwig wrote: > On Mon, Jul 13, 2020 at 04:45:19PM -0700, Eric Sandeen wrote: >> I wandered back into this thread for some reason ... ;) >> >> Since iversion/noiversion is /already/ advertised as a vfs-level mount option, >> wouldn't exposing it in /proc/mounts solve the original problem here? >> >> ("i_version" is wrong, because it's ext4-specific, but "iversion" is handled >> by the vfs, so it's meaningful for any filesystems, and it will also trivially >> allow mount(2) to preserve it across remounts for all filesystems that set it by >> default.) >> >> Seems like that's the fastest path to fixing the current problems, even if a >> long-term goal may be to deprecate it altogether. > > But they should not be exposed as a mount option. E.g. for XFS we > decide internally if we have a useful i_version or not, totally > independent of the mount option that leaked into the VFS. So we'll > need to fix how the flag is used before doing any new work in this area. > It's been explicitly exposed, documented, fixed, updated etc for about 12 years now. I was just hoping to make the current situation - even if we regret its mere existence - less broken, because going down a deprecation path will take us a while even if we choose it. In the meantime I'll just make sure xfs isn't broken on remount, but had hoped for a more general fix. *shrug* -Eric