LWN.net Logo

readdir

readdir

Posted Apr 9, 2009 16:09 UTC (Thu) by kfiles (subscriber, #11628)
In reply to: readdir by ESRI
Parent article: Unioning file systems: Implementations, part 2

It would seem that a possible extension of the proposed rule, "no NFS export of unionfs," could be, "no NFS export of unionfs unless all members of the union are RO." If no writes are being performed, the inodes are certainly stable.

That would solve your use case, where you really just want a union mount to implement logical volumes, not true FS overlay with transparent write-through.

--kirby


(Log in to post comments)

readdir

Posted Apr 9, 2009 19:26 UTC (Thu) by jblunck (guest, #27345) [Link]

Having 'stable inode numbers' is a little bit confusing here. In general it is true what you are saying but with NFS we also have the problem that we would need unique inode numbers to export them. Since the VFS based union mount implementation doesn't come with their own inodes but directly hands out the underlying filesystems objects this requirement isn't given.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds