Skip to content

nfsdctl: add support for new lockd configuration interface

Jeff Layton linux-nfs 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20250109-lockd-nl-6272fa9e8a5d

Versions newest first

  1. v2 Latest3 patches 13 repliesIn review
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- properly regenerate manpages
- fix up bogus merge conflict
- add D_GENERAL xlog messages when nfsdctl starts and exits
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nfsdctl: convert to xlog()utils/nfsdctl/nfsdctl.8 utils/nfsdctl/nfsdctl.adoc utils/nfsdctl/nfsdctl.c+71 -520 replies
2/3nfsdctl: fix the --version optionutils/nfsdctl/nfsdctl.c+1 -10 replies
3/3nfsdctl: add necessary bits to configure lockdconfigure.ac utils/nfsdctl/lockd_netlink.h utils/nfsdctl/nfsdctl.8 +2 more+249 -135 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchScott MayhewJeff Layton
SeriesR-b R-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] nfsdctl: add support for new lockd configuration interface

v2 is just a small update to fix the problems that Scott spotted.

This patch series adds support for the new lockd configuration interface that should fix this RH bug:

    https://issues.redhat.com/browse/RHEL-71698

There are some other improvements here too, notably a switch to xlog. Only lightly tested, but seems to do the right thing.

Port handling with lockd still needs more work. Currently that is usually configured by rpc.statd. I think we need to convert it to use netlink to configure the ports as well, when it's able.

---
Changes in v2:
- properly regenerate manpages
- fix up bogus merge conflict
- add D_GENERAL xlog messages when nfsdctl starts and exits
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Jeff Layton (3):
nfsdctl: convert to xlog()
nfsdctl: fix the --version option
nfsdctl: add necessary bits to configure lockd

 configure.ac                  |   4 +
 utils/nfsdctl/lockd_netlink.h |  29 ++++
 utils/nfsdctl/nfsdctl.8       |  15 +-
 utils/nfsdctl/nfsdctl.adoc    |   8 +
 utils/nfsdctl/nfsdctl.c       | 331 ++++++++++++++++++++++++++++++++++--------
 5 files changed, 321 insertions(+), 66 deletions(-)

---
base-commit: 65f4cc3a6ce1472ee4092c4bbf4b19beb0a8217b
change-id: 20250109-lockd-nl-6272fa9e8a5d

Best regards,

Signature · 1 line
Jeff Layton <[email protected]>