linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Allow my_name to change when locking
@ 2011-09-14 19:50 Chuck Lever
  2011-09-14 19:50 ` [PATCH 1/2] NLM: Allow upper layers to select my_name Chuck Lever
  2011-09-14 19:50 ` [PATCH 2/2] lockd: Use my_name instead of utsname when constructing NLM_LOCK args Chuck Lever
  0 siblings, 2 replies; 3+ messages in thread
From: Chuck Lever @ 2011-09-14 19:50 UTC (permalink / raw)
  To: skinsbursky; +Cc: linux-nfs

Instead of picking up utsname()->nodename in the NSM XDR layer, allow
upper layers to determine the value of SM_MON(my_name) and
NLM_LOCK(caller_name).

This should make it easier to support NFSv2 and v3 in containers.

Lightly tested the client side.  Server side changes need review
and testing.

---

Chuck Lever (2):
      lockd: Use my_name instead of utsname when constructing NLM_LOCK args
      NLM: Allow upper layers to select my_name


 fs/lockd/clntproc.c         |    6 +++---
 fs/lockd/host.c             |    7 ++++++-
 fs/lockd/mon.c              |   36 +++++++++++++++++++++++++-----------
 fs/lockd/svclock.c          |    2 +-
 include/linux/lockd/lockd.h |    4 +++-
 5 files changed, 38 insertions(+), 17 deletions(-)

-- 
Chuck Lever

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-14 19:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-14 19:50 [PATCH 0/2] Allow my_name to change when locking Chuck Lever
2011-09-14 19:50 ` [PATCH 1/2] NLM: Allow upper layers to select my_name Chuck Lever
2011-09-14 19:50 ` [PATCH 2/2] lockd: Use my_name instead of utsname when constructing NLM_LOCK args Chuck Lever

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).