Re: [PATCH v2 00/12] make rpc_pipefs be mountable multiple time

From: Rob Landley
Date: Mon Jan 03 2011 - 15:49:03 EST


On 12/31/2010 10:54 AM, Trond Myklebust wrote:
I'm kind of surprised that the kernel cares about a specific path under
/var/lib. (Seems like policy in the kernel somehow.) Can't it just
check the current process's mount list to see if an instance of
rpc_pipefs is mounted in the current namespace the way lxc looks for
cgroups? Or are there potential performance/scalability issues with that?

The kernel doesn't give a damn about the /var/lib/nfs/rpc_pipefs bit.
That's all for the benefit of the userland utilities.

Are you saying that if you go into a container and that mount point doesn't exist, the kernel will still be able to find and use rpc_pipefs? Without userspace creating a specific magic path and mounting a filesystem on it?

If so, I misread the patch...

Rob

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