summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authorSimon Rettberg2016-01-11 11:59:03 +0100
committerSimon Rettberg2016-01-11 11:59:03 +0100
commitaedf8c534195772f60e7c6409ae045fa20415aef (patch)
treeb987e1d389df2dfe6bec66b5215b94193dfcff6c /src/config.h
parent[FUSE] Handle SIGINT/SIGTERM to abort pending reads (diff)
downloaddnbd3-aedf8c534195772f60e7c6409ae045fa20415aef.tar.gz
dnbd3-aedf8c534195772f60e7c6409ae045fa20415aef.tar.xz
dnbd3-aedf8c534195772f60e7c6409ae045fa20415aef.zip
[KERNEL/CLIENT] Several minor tweaks and changes
- Disable panic timeout that reports errors to block layer by default - Get rid of "is_server" used by old proxy mode, introduce "honor_server_alts" that just controls whether we use alts provided by the server - Allow switching servers when we only have 3 RTT measurements - If using alts provided by server, don't ignore those that come from other servers than the initial one
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index f5b550c..c6405b5 100644
--- a/src/config.h
+++ b/src/config.h
@@ -86,7 +86,8 @@
// Number of unsuccessful alt_server probes before read errors are reported to the block layer
// (ALL servers will be probed this many times)
-#define PROBE_COUNT_TIMEOUT 20
+// Set to 0 to disable
+#define PROBE_COUNT_TIMEOUT 0
// +++++ Block Device +++++
#define KERNEL_SECTOR_SIZE 512