netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chuck Lever <chuck.lever@oracle.com>
To: Lorenzo Bianconi <lorenzo@kernel.org>
Cc: linux-nfs@vger.kernel.org, neilb@suse.de,
	lorenzo.bianconi@redhat.com, netdev@vger.kernel.org,
	kuba@kernel.org, jlayton@kernel.org
Subject: Re: [PATCH v9 0/7] convert write_threads, write_version and write_ports to netlink commands
Date: Thu, 25 Apr 2024 10:07:14 -0400	[thread overview]
Message-ID: <ZipjkqTcbcWcmQJ/@tissot.1015granger.net> (raw)
In-Reply-To: <cover.1713878413.git.lorenzo@kernel.org>

On Tue, Apr 23, 2024 at 03:25:37PM +0200, Lorenzo Bianconi wrote:
> Introduce write_threads, write_version and write_ports netlink
> commands similar to the ones available through the procfs.
> 
> Changes since v8:
> - introduce scope parameter to write_thread command
> - add the capability to specity multiple threads in write_thread for future
>   usage
> - fix comments
> Changes since v7:
> - add gracetime and leasetime to threads-{set,get} command
> - rely on nla_nest_start instead of nla_nest_start_noflag
> Changes since v6:
> - add the capability to pass sockaddr from userspace through listener-set
>   command
> - rebase on top of nfsd-next
> Changes since v5:
> - for write_ports and write_version commands, userspace is expected to provide
>   a NFS listeners/supported versions list it want to enable (all the other
>   ports/versions will be disabled).
> - fix comments
> - rebase on top of nfsd-next
> Changes since v4:
> - rebase on top of nfsd-next tree
> Changes since v3:
> - drop write_maxconn and write_maxblksize for the moment
> - add write_version and write_ports commands
> Changes since v2:
> - use u32 to store nthreads in nfsd_nl_threads_set_doit
> - rename server-attr in control-plane in nfsd.yaml specs
> Changes since v1:
> - remove write_v4_end_grace command
> - add write_maxblksize and write_maxconn netlink commands
> 
> This patch can be tested with user-space tool reported below:
> https://patchwork.kernel.org/project/linux-nfs/cover/20240412-nfsdctl-v1-0-efd6dcebcc04@kernel.org/
> 
> Jeff Layton (3):
>   NFSD: move nfsd_mutex handling into nfsd_svc callers
>   NFSD: allow callers to pass in scope string to nfsd_svc
>   SUNRPC: add a new svc_find_listener helper
> 
> Lorenzo Bianconi (4):
>   NFSD: convert write_threads to netlink command
>   NFSD: add write_version to netlink command
>   SUNRPC: introduce svc_xprt_create_from_sa utility routine
>   NFSD: add listener-{set,get} netlink command
> 
>  Documentation/netlink/specs/nfsd.yaml | 110 ++++++
>  fs/nfsd/netlink.c                     |  66 ++++
>  fs/nfsd/netlink.h                     |  10 +
>  fs/nfsd/netns.h                       |   1 +
>  fs/nfsd/nfsctl.c                      | 517 +++++++++++++++++++++++++-
>  fs/nfsd/nfsd.h                        |   2 +-
>  fs/nfsd/nfssvc.c                      |  11 +-
>  include/linux/sunrpc/svc_xprt.h       |   5 +
>  include/uapi/linux/nfsd_netlink.h     |  47 +++
>  net/sunrpc/svc_xprt.c                 | 167 ++++++---
>  10 files changed, 870 insertions(+), 66 deletions(-)
> 
> -- 
> 2.44.0
> 

Applied to nfsd-next (for v6.10) with many thanks!

-- 
Chuck Lever

      parent reply	other threads:[~2024-04-25 14:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-23 13:25 [PATCH v9 0/7] convert write_threads, write_version and write_ports to netlink commands Lorenzo Bianconi
2024-04-23 13:25 ` [PATCH v9 1/7] NFSD: move nfsd_mutex handling into nfsd_svc callers Lorenzo Bianconi
2024-04-23 13:25 ` [PATCH v9 2/7] NFSD: allow callers to pass in scope string to nfsd_svc Lorenzo Bianconi
2024-04-23 13:25 ` [PATCH v9 3/7] NFSD: convert write_threads to netlink command Lorenzo Bianconi
2024-04-23 13:25 ` [PATCH v9 4/7] NFSD: add write_version " Lorenzo Bianconi
2024-04-23 13:25 ` [PATCH v9 5/7] SUNRPC: introduce svc_xprt_create_from_sa utility routine Lorenzo Bianconi
2024-04-23 13:25 ` [PATCH v9 6/7] SUNRPC: add a new svc_find_listener helper Lorenzo Bianconi
2024-04-23 13:25 ` [PATCH v9 7/7] NFSD: add listener-{set,get} netlink command Lorenzo Bianconi
2024-04-25 14:07 ` Chuck Lever [this message]

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=ZipjkqTcbcWcmQJ/@tissot.1015granger.net \
    --to=chuck.lever@oracle.com \
    --cc=jlayton@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=lorenzo.bianconi@redhat.com \
    --cc=lorenzo@kernel.org \
    --cc=neilb@suse.de \
    --cc=netdev@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
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).