aboutsummaryrefslogtreecommitdiff
path: root/fs/afs/Kconfig
diff options
context:
space:
mode:
authorDavid Howells2018-10-20 00:57:58 +0100
committerDavid Howells2018-10-24 00:41:09 +0100
commit744bcd713a4eabb248246f7deccfad30c579b7f5 (patch)
tree60470fca4f54503cb844f02d12f25a4c67529972 /fs/afs/Kconfig
parent30062bd13e3659a309d249a06d5f4ebb4a5c5251 (diff)
afs: Allow dumping of server cursor on operation failure
Provide an option to allow the file or volume location server cursor to be dumped if the rotation routine falls off the end without managing to contact a server. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/Kconfig')
-rw-r--r--fs/afs/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/afs/Kconfig b/fs/afs/Kconfig
index ebba3b18e5da..701aaa9b1899 100644
--- a/fs/afs/Kconfig
+++ b/fs/afs/Kconfig
@@ -27,3 +27,15 @@ config AFS_FSCACHE
help
Say Y here if you want AFS data to be cached locally on disk through
the generic filesystem cache manager
+
+config AFS_DEBUG_CURSOR
+ bool "AFS server cursor debugging"
+ depends on AFS_FS
+ help
+ Say Y here to cause the contents of a server cursor to be dumped to
+ the dmesg log if the server rotation algorithm fails to successfully
+ contact a server.
+
+ See <file:Documentation/filesystems/afs.txt> for more information.
+
+ If unsure, say N.