Re: [PATCH] VFS: Suppress automount on [l]stat, [l]getxattr, etc.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2011-09-26 at 14:24 -0700, Linus Torvalds wrote: 
> On Mon, Sep 26, 2011 at 2:13 PM, Trond Myklebust
> <Trond.Myklebust@xxxxxxxxxx> wrote:
> >
> > LOOKUP_OPEN flags an open intent and will therefore have side-effects on
> > NFSv4.
> 
> Yes, and the actual downside for that is exactly what?
> 
> If you are talking about the bind mount issue, then what is the
> downside with saying "we want the same stronger consistency guarantees
> as for a 'file open' operation"?

A bind mount doesn't actually want us to set up OPEN state on the NFSv4
server and return a fully initialised 'struct file' in the struct
nameidata. If it did, we would already have set the LOOKUP_OPEN flag
together with the accompanying open intent structure in the struct
nameidata.

Ditto for the quotactl().

Cheers
  Trond

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux