mbox series

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

Message ID 20190611180832.119488-1-trond.myklebust@hammerspace.com (mailing list archive)
Headers show
Series Ensure NFSv4 client ids are unique and persistent | expand

Message

Trond Myklebust June 11, 2019, 6:08 p.m. UTC
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