Linux NFS development
 help / color / mirror / Atom feed
* [PATCH nfs-utils 0/3] nfsdctl: properly handle older kernels that don't support min-threads
@ 2026-02-04 12:28 Jeff Layton
  2026-02-04 12:28 ` [PATCH nfs-utils 1/3] nfsdctl: only resolve netlink family names once Jeff Layton
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jeff Layton @ 2026-02-04 12:28 UTC (permalink / raw)
  To: Steve Dickson; +Cc: Ben Coddington, Chuck Lever, linux-nfs, Jeff Layton

Ben reported a problem with using new userland with old kernel. If he
tried to send down a setting that the kernel doesn't support, it returns
-EINVAL to the call.

This patch series adds a mechanism for nfsdctl to tell what attributes
are supported by the "threads" command. If can then use that to
determine whether to pass down the min-threads attribute or report an
error or warning.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
Jeff Layton (3):
      nfsdctl: only resolve netlink family names once
      nfsdctl: query netlink policy before sending the minthreads attribute to kernel
      nfsdctl: remove unneeded newlines from xlog() format strings

 utils/nfsdctl/nfsdctl.c | 193 +++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 168 insertions(+), 25 deletions(-)
---
base-commit: 8f54511aefe1455161a6c4406ed8c770139f61e3
change-id: 20260203-minthreads-402ce87096e0

Best regards,
-- 
Jeff Layton <jlayton@kernel.org>


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

end of thread, other threads:[~2026-02-05 21:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-04 12:28 [PATCH nfs-utils 0/3] nfsdctl: properly handle older kernels that don't support min-threads Jeff Layton
2026-02-04 12:28 ` [PATCH nfs-utils 1/3] nfsdctl: only resolve netlink family names once Jeff Layton
2026-02-04 12:28 ` [PATCH nfs-utils 2/3] nfsdctl: query netlink policy before sending the minthreads attribute to kernel Jeff Layton
2026-02-04 12:28 ` [PATCH nfs-utils 3/3] nfsdctl: remove unneeded newlines from xlog() format strings Jeff Layton
2026-02-05 21:18 ` [PATCH nfs-utils 0/3] nfsdctl: properly handle older kernels that don't support min-threads Benjamin Coddington

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox