linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] nfsdctl: new nfs-utils tool for managing the kernel NFS server
@ 2024-04-12 13:54 Jeff Layton
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Jeff Layton @ 2024-04-12 13:54 UTC (permalink / raw)
  To: Steve Dickson, Lorenzo Bianconi, Chuck Lever, Neil Brown
  Cc: linux-nfs, Jeff Layton

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>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-12 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-12 13:54 [PATCH RFC 0/2] nfsdctl: new nfs-utils tool for managing the kernel NFS server Jeff Layton
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

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).