summaryrefslogtreecommitdiff
path: root/libmultipath/propsel.h
diff options
context:
space:
mode:
authorChristophe Varoqui <root@xa-s05.(none)>2005-10-08 00:45:55 +0200
committerChristophe Varoqui <root@xa-s05.(none)>2005-10-08 00:45:55 +0200
commit5be484e5dfc587c8373b06be126c72e910839187 (patch)
tree6969a5e25f680994bef6be4d085d26f922bfe705 /libmultipath/propsel.h
parent6d6eecfce69c24c53cfad55d1b5ee59dac82e74c (diff)
downloadmultipath-tools-5be484e5dfc587c8373b06be126c72e910839187.tar.gz
multipath-tools-5be484e5dfc587c8373b06be126c72e910839187.tar.bz2
multipath-tools-5be484e5dfc587c8373b06be126c72e910839187.zip
[multipathd] switch on/off the queueing feature when oportune
The following patch adds time-based retry feature in no-path situation to multipathd. Any comments are welcome. This patch adds 'no_path_retry' option to multipathd. o no_path_retry = "fail" is equal to 'fail_if_no_path'. (i.e. I/O to the no-path map will immediately fail.) o no_path_retry = "queue" is equal to 'queue_if_no_path'. (i.e. I/O to the no-path map will be queued until any path comes up.) o If no_path_retry = <n> where n is positive number, then multipathd will set queue_if_no_path to the map, and if the all paths are down, multipathd will turn the feature off to fail_if_no_path after the checker tries <n> times for each paths in the map. Multipathd re-writes queue_if_no_path feature parameter in the map, if this option is specified. But by default, this patch doesn't change current multipathd behaviour. So this patch don't break any existing configuration. Kiyoshi Ueda, NEC
Diffstat (limited to 'libmultipath/propsel.h')
-rw-r--r--libmultipath/propsel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmultipath/propsel.h b/libmultipath/propsel.h
index 5e57a32..e5124d0 100644
--- a/libmultipath/propsel.h
+++ b/libmultipath/propsel.h
@@ -8,4 +8,4 @@ int select_hwhandler (struct multipath * mp);
int select_checkfn(struct path *pp);
int select_getuid (struct path * pp);
int select_getprio (struct path * pp);
-
+int select_no_path_retry(struct multipath *mp);