From: Olaf Kirch Date: Wed, 4 Oct 2006 09:16:01 +0000 (-0700) Subject: [PATCH] knfsd: lockd: optionally use hostnames for identifying peers X-Git-Tag: v2.6.19-rc1~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abd1f50094cad9dff6d68ada98b495549f52fc30;p=pandora-kernel.git [PATCH] knfsd: lockd: optionally use hostnames for identifying peers This patch adds the nsm_use_hostnames sysctl and module param. If set, lockd will use the client's name (as given in the NLM arguments) to find the NSM handle. This makes recovery work when the NFS peer is multi-homed, and the reboot notification arrives from a different IP than the original lock calls. Signed-off-by: Olaf Kirch Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed