Deprecate nfsd fault injection
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 26 Aug 2019 14:28:58 +0000 (10:28 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 26 Aug 2019 14:36:56 +0000 (10:36 -0400)
This is only useful for client testing.  I haven't really maintained it,
and reference counting and locking are wrong at this point.  You can get
some of the same functionality now from nfsd/clients/.

It was a good idea but I think its time has passed.

In the unlikely event of users, hopefully the BROKEN dependency will
prompt them to speak up.  Otherwise I expect to remove it soon.

Reported-by: Alex Lyakas <alex@zadara.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/Kconfig

index bff8456..10cefb0 100644 (file)
@@ -148,7 +148,7 @@ config NFSD_V4_SECURITY_LABEL
 
 config NFSD_FAULT_INJECTION
        bool "NFS server manual fault injection"
-       depends on NFSD_V4 && DEBUG_KERNEL && DEBUG_FS
+       depends on NFSD_V4 && DEBUG_KERNEL && DEBUG_FS && BROKEN
        help
          This option enables support for manually injecting faults
          into the NFS server.  This is intended to be used for