mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] lockd: allow setting ports without setting gracetime
@ 2026-09-23 10:58 Jeff Layton
  2026-09-23 10:58 ` [PATCH 1/2] lockd: allow SERVER_SET without a gracetime attribute Jeff Layton
  2026-09-23 10:58 ` [PATCH 2/2] selftests/nfsd: add lockd netlink configuration tests Jeff Layton
  0 siblings, 2 replies; 3+ messages in thread
From: Jeff Layton @ 2026-09-23 10:58 UTC (permalink / raw)
  To: Trond Myklebust, Anna Schumaker, Chuck Lever, NeilBrown,
	Olga Kornievskaia, Dai Ngo, Tom Talpey, Shuah Khan
  Cc: Scott Mayhew, linux-nfs, linux-kernel, linux-kselftest, Jeff Layton

This fixes a rather silly bug that Scott pointed out to me in a meeting
recently. You currently can't set the ports in lockd via the netlink
interface unless you also set the gracetime. This patch makes them all
properly optional.

We probably want this to go to stable.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
Jeff Layton (2):
      lockd: allow SERVER_SET without a gracetime attribute
      selftests/nfsd: add lockd netlink configuration tests

 fs/lockd/svc.c                                    |  50 ++---
 tools/testing/selftests/nfsd/.gitignore           |   1 +
 tools/testing/selftests/nfsd/Makefile             |   1 +
 tools/testing/selftests/nfsd/nfsd_lockd_netlink.c | 249 ++++++++++++++++++++++
 tools/testing/selftests/nfsd/nfsd_netlink.h       |  90 ++++++--
 5 files changed, 348 insertions(+), 43 deletions(-)
---
base-commit: cab95e6be3ba82bcf4c8be27c2eb20e55238aa41
change-id: 20260922-nfsd-testing-00c12335047d

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


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

end of thread, other threads:[~2026-09-23 10:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 10:58 [PATCH 0/2] lockd: allow setting ports without setting gracetime Jeff Layton
2026-09-23 10:58 ` [PATCH 1/2] lockd: allow SERVER_SET without a gracetime attribute Jeff Layton
2026-09-23 10:58 ` [PATCH 2/2] selftests/nfsd: add lockd netlink configuration tests Jeff Layton

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

all inboxes | Powered by JetHome®