[PATCH 0/3] Ensure NFSv4 client ids are unique and persistent

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

 



The following patche use sysfs in conjunction with the udev daemon
to allow the client to run a configuration script to automatically
set the NFSv4 client identifier on first use.

Trond Myklebust (3):
  NFS: Create a root NFS directory in /sys/fs/nfs
  NFS: Cleanup - add nfs_clients_exit to mirror nfs_clients_init
  NFS: Add sysfs support for per-container identifier

 fs/nfs/Makefile   |   3 +-
 fs/nfs/client.c   |  17 ++++-
 fs/nfs/inode.c    |  14 ++--
 fs/nfs/internal.h |   2 +-
 fs/nfs/netns.h    |   3 +
 fs/nfs/sysfs.c    | 187 ++++++++++++++++++++++++++++++++++++++++++++++
 fs/nfs/sysfs.h    |  25 +++++++
 7 files changed, 242 insertions(+), 9 deletions(-)
 create mode 100644 fs/nfs/sysfs.c
 create mode 100644 fs/nfs/sysfs.h

-- 
2.21.0




[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