Return-Path: Received: from mx2.netapp.com ([216.240.18.37]:43937 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752865Ab1IWPCE convert rfc822-to-8bit (ORCPT ); Fri, 23 Sep 2011 11:02:04 -0400 Subject: Re: [PATCH] VFS: Suppress automount on [l]stat, [l]getxattr, etc. From: Trond Myklebust To: Linus Torvalds Cc: David Howells , miklos@szeredi.hu, Jeff Layton , viro@zeniv.linux.org.uk, gregkh@suse.de, linux-nfs@vger.kernel.org, leonardo.lists@gmail.com Date: Fri, 23 Sep 2011 11:01:49 -0400 In-Reply-To: References: <1316747758.3346.89.camel@perseus.themaw.net> <20110922134510.24683.14576.stgit@warthog.procyon.org.uk> <1316707443.3346.44.camel@perseus.themaw.net> <1316709935.3346.48.camel@perseus.themaw.net> <20110922133529.6d3ea8de@barsoom.rdu.redhat.com> <20110922144453.6cf53a25@barsoom.rdu.redhat.com> <1316719228.3968.14.camel@lade.trondhjem.org> <2E1EB2CF9ED1CB4AA966F0EB76EAB4430B480BD4@SACMVEXC2-PRD.hq.netapp.com> <21772.1316774025@redhat.com> <1316788444.14812.10.camel@lade.trondhjem.org> Content-Type: text/plain; charset="UTF-8" Message-ID: <1316790109.14812.14.camel@lade.trondhjem.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On Fri, 2011-09-23 at 07:46 -0700, Linus Torvalds wrote: > On Fri, Sep 23, 2011 at 7:34 AM, Trond Myklebust > wrote: > > > > My objections are due to the other cases that I pointed out, where > > Miklos's patch introduced changes in behaviour that IMO are unnecessary > > and incorrect. > > Guys, it wasn't Mikos' patch that introduced the changes! > > What's so hard to understand here? > > That's why I'm so upset. People talk stupid sh*t about "correct > behavior" when clearly no such thing *exists*. And people talk about > Miklos changes as if they were some radical change that changed > behavior, when they were only a revert to old behavior to begin with > (at least as far as autofs is concerned)! > > Get a grip, people. Stop over-analyzing things. Stop bothering to > mention what Solaris does, when the *MUCH* bigger issue is what > *Linux* has done for years and years. > > Stop saying "we'll revert Miklos patch" in the same sentence where you > then seem to not even understand that the *original* behavior was the > one that Miklos patch re-introduced. > > Reverting Miklos patch isn't a revert. THAT is the "semantic change". > That's the one you need to explain why the heck it would be the right > thing to do, rather than imply that we'd be going back to some known > state. Wrong. Miklos's patch introduces new behaviour that was never present previously: - you can now bind mount to the hidden directory. - you can quotactl the underlying directory. As I said earlier: adding LOOKUP_DIRECTORY to those operations is not an option because bind mount needs to work with files too (as long as the source and target are both files). Ditto with quotactl. -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com