[PATCH 0/2] nfsd: remove legacy tracking methods

Jeff Layton posted 2 patches 20 hours ago
arch/s390/configs/debug_defconfig |   1 -
arch/s390/configs/defconfig       |   1 -
fs/nfsd/Kconfig                   |  17 -
fs/nfsd/netns.h                   |   1 -
fs/nfsd/nfs4ctl.h                 |   8 +-
fs/nfsd/nfs4recover.c             | 998 +-------------------------------------
fs/nfsd/nfsctl.c                  |  79 ---
fs/nfsd/state.h                   |   4 -
fs/nfsd/trace.h                   |  19 -
9 files changed, 3 insertions(+), 1125 deletions(-)
[PATCH 0/2] nfsd: remove legacy tracking methods
Posted by Jeff Layton 20 hours ago
Around three years ago, we added CONFIG_NFSD_LEGACY_CLIENT_TRACKING with
the intent to eventually remove the code that it compiles in when
enabled. A little over a year ago, we switched the default for it to
"n".

All of the major distros now disable this option, so finish the job by
finally removing the config option altogether. With this, nfsdcld
becomes the sole way to do v4 recovery tracking.

This also finally gets rid of the dependency on MD5 hashing that the
legacy recdir method used, which will mean that FIPS auditors will stop
dinging us too.

I think we should shoot for putting this in v7.5. Anyone have
objections?

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
Jeff Layton (2):
      nfsd: remove the nfsdcltrack usermodehelper tracking backend
      nfsd: remove CONFIG_NFSD_LEGACY_CLIENT_TRACKING

 arch/s390/configs/debug_defconfig |   1 -
 arch/s390/configs/defconfig       |   1 -
 fs/nfsd/Kconfig                   |  17 -
 fs/nfsd/netns.h                   |   1 -
 fs/nfsd/nfs4ctl.h                 |   8 +-
 fs/nfsd/nfs4recover.c             | 998 +-------------------------------------
 fs/nfsd/nfsctl.c                  |  79 ---
 fs/nfsd/state.h                   |   4 -
 fs/nfsd/trace.h                   |  19 -
 9 files changed, 3 insertions(+), 1125 deletions(-)
---
base-commit: cab95e6be3ba82bcf4c8be27c2eb20e55238aa41
change-id: 20260923-nfsd-legacy-468be4ee7773

Best regards,
-- 
Jeff Layton <jlayton@kernel.org>
Re: [PATCH 0/2] nfsd: remove legacy tracking methods
Posted by Chuck Lever 18 hours ago
On Wed, 23 Sep 2026 12:14:20 -0400, Jeff Layton wrote:
> Around three years ago, we added CONFIG_NFSD_LEGACY_CLIENT_TRACKING with
> the intent to eventually remove the code that it compiles in when
> enabled. A little over a year ago, we switched the default for it to
> "n".
> 
> All of the major distros now disable this option, so finish the job by
> finally removing the config option altogether. With this, nfsdcld
> becomes the sole way to do v4 recovery tracking.
> 
> [...]

Applied to nfsd-testing, thanks!

[1/2] nfsd: remove the nfsdcltrack usermodehelper tracking backend
      commit: ac71b6474e0a6b62c7075f3745cb8ac9e201ec7b
[2/2] nfsd: remove CONFIG_NFSD_LEGACY_CLIENT_TRACKING
      commit: 21c66e2ece97c0ac8139b44051d565b29574f821

--
Chuck Lever