RE: [PATCH] NLM program ID for user space NLM server

From: Menny Hamburger
Date: Thu May 10 2007 - 07:00:12 EST


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.



-----Original Message-----
From: Neil Brown [mailto:neilb@xxxxxxx]
Sent: Thursday, May 10, 2007 12:03 PM
To: Menny Hamburger
Cc: linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: [PATCH] NLM program ID for user space NLM server

On Thursday May 10, menny@xxxxxxxxxx wrote:
> Hi,
>
> Since the current kernel cannot be compiled with NFS client and
> without lockd, it is not possible to register a user space NLM server
> Without colliding with the kernel service registered in
> .../fs/lockd/lockd.c.

This doesn't make any sense to me at all.
You can certainly have the NFS client compiled and even running without
lockd running (if you mount with "-o nolock") and in that case you are
free you register your owner user-space NLM server (though I'm not sure
what good it would do you).

And if you want to mount an NFS filesystem without "-o nolock", then you
really need the kernel lockd running, or locking will not work.

Can you explain what you are trying to do - I'm curious.

>
> +#ifndef
> #define NLM_PROGRAM 100021
> +#endif

Uhm... Do you mean

+#ifndef NLM_PROGRAM

?? Still not sure how that helps.

NeilBrown
-
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/