[PATCH 0/2] Allow my_name to change when locking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux