From: Jeff Layton <jlayton@kernel.org>
To: Steve Dickson <steved@redhat.com>,
Lorenzo Bianconi <lorenzo@kernel.org>,
Chuck Lever <chuck.lever@oracle.com>, Neil Brown <neilb@suse.de>
Cc: linux-nfs@vger.kernel.org, Jeff Layton <jlayton@kernel.org>
Subject: [PATCH RFC 0/2] nfsdctl: new nfs-utils tool for managing the kernel NFS server
Date: Fri, 12 Apr 2024 09:54:53 -0400 [thread overview]
Message-ID: <20240412-nfsdctl-v1-0-efd6dcebcc04@kernel.org> (raw)
With Lorenzo's addition [1] of new kernel netlink interfaces, it's a
good time to revisit how the kernel server is managed from userland.
This series first adds Lorenzo's original userland nfsdctl tool to the
nfs-utils tree, and then converts it to a subcommand-based interface, in
the spirit of tools like nmcli or virsh.
This is not quite at feature parity with rpc.nfsd(8) yet, at least as
far as autostart supporting options in /etc/nfs.conf. We need a way to
set the grace-time and lease-time. This also lacks a manpage and a lot
of needed --help text, so it's not ready for merge yet.
Consider this a request for early feedback: Does this seem like a
reasonable approach for managing the server?
[1]: https://lore.kernel.org/linux-nfs/cover.1712853393.git.lorenzo@kernel.org/
Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
Jeff Layton (1):
nfsdctl: convert it to a command-line based interface
Lorenzo Bianconi (1):
nfsdctl: add the nfsdctl utility to nfs-utils
configure.ac | 13 +
utils/Makefile.am | 4 +
utils/nfsdctl/Makefile.am | 10 +
utils/nfsdctl/nfsdctl.c | 1321 +++++++++++++++++++++++++++++++++++++++++++++
utils/nfsdctl/nfsdctl.h | 184 +++++++
5 files changed, 1532 insertions(+)
---
base-commit: 4aaa812366170c5671a99eaca4d814cbf310cfd1
change-id: 20240412-nfsdctl-fa8bd8430cfd
Best regards,
--
Jeff Layton <jlayton@kernel.org>
next reply other threads:[~2024-04-12 13:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-12 13:54 Jeff Layton [this message]
2024-04-12 13:54 ` [PATCH RFC 1/2] nfsdctl: add the nfsdctl utility to nfs-utils Jeff Layton
2024-04-12 13:54 ` [PATCH RFC 2/2] nfsdctl: convert it to a command-line based interface Jeff Layton
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=20240412-nfsdctl-v1-0-efd6dcebcc04@kernel.org \
--to=jlayton@kernel.org \
--cc=chuck.lever@oracle.com \
--cc=linux-nfs@vger.kernel.org \
--cc=lorenzo@kernel.org \
--cc=neilb@suse.de \
--cc=steved@redhat.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).