Re: [PATCH 09/11] nfsd: Allow filehandle lookup to cross internal mount points.
From: NeilBrown <hidden>
Date: 2021-07-28 22:29:40
Also in:
linux-fsdevel, linux-nfs
From: NeilBrown <hidden>
Date: 2021-07-28 22:29:40
Also in:
linux-fsdevel, linux-nfs
On Thu, 29 Jul 2021, J. Bruce Fields wrote:
On Wed, Jul 28, 2021 at 08:37:45AM +1000, NeilBrown wrote:quoted
Enhance nfsd to detect internal mounts and to cross them without requiring a new export.Why don't we want a new export? (Honest question, it's not obvious to me what the best behavior is.)
Because a new export means asking user-space to determine if the mount is exported and to provide a filehandle-prefix for it. A large part of the point of this it to avoid using a different filehandle-prefix. I haven't yet thought deeply about how the 'crossmnt' flag (for v3) should affect crossing these internal mounts. My current feeling is that it shouldn't as it really is just one big filesystem being exported, which happens to internally have different inode-number spaces. Unfortuantely this technically violates the RFC as the fsid is not meant to change when you do a LOOKUP ... NeilBrown