Linux-NFS Archive on lore.kernel.org
 help / color / Atom feed
From: Trond Myklebust <trondmy@gmail.com>
To: linux-nfs@vger.kernel.org
Subject: [PATCH 0/3] Ensure NFSv4 client ids are unique and persistent
Date: Tue, 11 Jun 2019 14:08:29 -0400
Message-ID: <20190611180832.119488-1-trond.myklebust@hammerspace.com> (raw)

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


             reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-11 18:08 Trond Myklebust [this message]
2019-06-11 18:08 ` [PATCH 1/3] NFS: Create a root NFS directory in /sys/fs/nfs Trond Myklebust
2019-06-11 18:08   ` [PATCH 2/3] NFS: Cleanup - add nfs_clients_exit to mirror nfs_clients_init Trond Myklebust
2019-06-11 18:08     ` [PATCH 3/3] NFS: Add sysfs support for per-container identifier Trond Myklebust

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190611180832.119488-1-trond.myklebust@hammerspace.com \
    --to=trondmy@gmail.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-NFS Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-nfs/0 linux-nfs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-nfs linux-nfs/ https://lore.kernel.org/linux-nfs \
		linux-nfs@vger.kernel.org
	public-inbox-index linux-nfs

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-nfs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git