linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Union mounts, NFS, and locking
@ 2009-07-14 17:48 Valerie Aurora
  2009-07-14 18:19 ` Erez Zadok
  0 siblings, 1 reply; 12+ messages in thread
From: Valerie Aurora @ 2009-07-14 17:48 UTC (permalink / raw)
  To: Trond Myklebust, Alexander Viro, Jan Blunck, Christoph Hellwig
  Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA,
	linux-nfs-u79uwXL29TY76Z2rM5mHXA

For now, the union mount developers are assuming that the bottom layer
of a union mount is read-only.  This avoids the directory
topology-related problems summarized in this thread:

http://lkml.org/lkml/2008/1/17/4

The problem is making a file system really really read-only and not
letting someone else come along and start sneakily modifying it
underneath us.  My superblock readonly users patch
(http://lkml.org/lkml/2009/7/13/243) fixes that for local file
systems, but I'm not sure how to handle NFS mounts as the bottom
layer.  The client can mount it read-only, but that puts no
restrictions on the server.  However, the kernel can already deal with
things unexpectedly moving/going away on an NFS mount - ESTALE - and
the dentry/inode/etc. won't suddenly disappear in the way they can
with local file systems.  Is this good enough for union mounts?  Or do
we need to get the NFS server to promise that the exported file system
is really really read-only too?

(Yes, this depends on the actual concrete union mount locking scheme,
but I'm more interested in whether it can or cannot be solved in
principle.)

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-07-16 21:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-14 17:48 Union mounts, NFS, and locking Valerie Aurora
2009-07-14 18:19 ` Erez Zadok
     [not found]   ` <200907141819.n6EIJQi1014319-zop+azHP2WsZjdeEBZXbMidm6ipF23ct@public.gmane.org>
2009-07-14 20:19     ` Valerie Aurora
2009-07-14 20:36       ` Erez Zadok
     [not found]         ` <200907142036.n6EKaexe017464-zop+azHP2WsZjdeEBZXbMidm6ipF23ct@public.gmane.org>
2009-07-14 22:05           ` Valerie Aurora
2009-07-14 22:33             ` Erez Zadok
     [not found]               ` <200907142233.n6EMXRQp019008-zop+azHP2WsZjdeEBZXbMidm6ipF23ct@public.gmane.org>
2009-07-14 22:55                 ` Trond Myklebust
     [not found]                   ` <1247612140.5332.11.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-07-16  0:15                     ` Erez Zadok
2009-07-15  0:19               ` Valerie Aurora
2009-07-15 17:27             ` J. Bruce Fields
     [not found]               ` <20090715172758.GA13893-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
2009-07-16 17:25                 ` Valerie Aurora
2009-07-16 21:22                 ` David P. Quigley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).