summaryrefslogtreecommitdiffstats
path: root/fs/afs/Kconfig
diff options
context:
space:
mode:
authorDavid Howells2018-10-20 01:57:58 +0200
committerDavid Howells2018-10-24 01:41:09 +0200
commit744bcd713a4eabb248246f7deccfad30c579b7f5 (patch)
tree60470fca4f54503cb844f02d12f25a4c67529972 /fs/afs/Kconfig
parentafs: Implement YFS support in the fs client (diff)
downloadkernel-qcow2-linux-744bcd713a4eabb248246f7deccfad30c579b7f5.tar.gz
kernel-qcow2-linux-744bcd713a4eabb248246f7deccfad30c579b7f5.tar.xz
kernel-qcow2-linux-744bcd713a4eabb248246f7deccfad30c579b7f5.zip
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.