On Tue, Apr 10, 2012 at 02:56:12PM +0400, Stanislav Kinsbursky wrote:09.04.2012 22:11, bfields@xxxxxxxxxxxx ÐÐÑÐÑ:Since NFSv4 doesn't have a separate MOUNT protocol, clients need to be
able to do readdir's and lookups to get to exported filesystems. We
support this in the Linux server by exporting all the filesystems from
"/" on down that must be traversed to reach a given filesystem. These
exports are very restricted (e.g. only parents of exports are visible).
Ok, thanks for explanation.
So, this pseudoroot looks like a part of NFS server internal
implementation, but not a part of a standard. That's good.
Why does it prevents implementing of check for "superblock-network
namespace" pair on NFS server start and forbid (?) it in case of
this pair is shared already in other namespace? I.e. maybe this
pseudoroot can be an exclusion from this rule?
That might work. It's read-only and consists only of directories, so
the grace period doesn't affect it.
I've just realized, that this per-sb grace period won't work.
I.e., it's a valid situation, when two or more containers located on
the same filesystem, but shares different parts of it. And there is
not conflict here at all.
Well, there may be some conflict in that a file could be hardlinked into
both subtrees, and that file could be locked from users of either
export.