Messages in this thread | | | Subject | RE: [PATCH] NLM program ID for user space NLM server | Date | Thu, 10 May 2007 18:30:35 +0300 | From | "Menny Hamburger" <> |
| |
The idea in the change was to be able to override NLM_PROGRAM with another definition (from our slightly customized build system), so that the kernel never tries to register port 100021.
We understand that if all mounts are with 'nolock' this wouldn't happen, and indeed, we configured our mounts that way, but we want to protect ourself from some innocent mounter that doesn't know/care about NLM, doesn't use 'nolock' and could cause the kernel to take away our port. This of course happened in real life.
If such patch would be accepted, it could save some time to anyone who tries to run user mode NLM server, but it's pretty esoteric, so maybe this discussion is enough to document the issue.
-----Original Message----- From: Trond Myklebust [mailto:trond.myklebust@fys.uio.no] Sent: Thursday, May 10, 2007 3:39 PM To: Menny Hamburger Cc: Neil Brown; linux-kernel@vger.kernel.org Subject: RE: [PATCH] NLM program ID for user space NLM server
On Thu, 2007-05-10 at 13:59 +0300, Menny Hamburger wrote: > Hi, > > We have a our own userland NFSD and NLM service running that implement
> all the NLM/NFS functionality. > We do not want to modify the way the client does his mounts. > > M.
The client needs to have lockd running (as service 100021) in order to allow the NSM daemon to notify it of server reboots.
Trond
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |