summaryrefslogtreecommitdiff
path: root/multipath.conf.annotated
diff options
context:
space:
mode:
authorChristophe Varoqui <christophe.varoqui@free.fr>2007-11-19 01:12:23 +0100
committerChristophe Varoqui <christophe.varoqui@free.fr>2007-11-19 01:12:23 +0100
commit0c858203d190690ad46beaa7d9a187260533f7d3 (patch)
tree96f31b82d01fce9449710c4342e7e57847a3d53c /multipath.conf.annotated
parentf3e2b4ee182ea9cb2403e1718eee20a55e84dc49 (diff)
downloadmultipath-tools-0c858203d190690ad46beaa7d9a187260533f7d3.tar.gz
multipath-tools-0c858203d190690ad46beaa7d9a187260533f7d3.tar.bz2
multipath-tools-0c858203d190690ad46beaa7d9a187260533f7d3.zip
[libprio] initial commit
Priority callouts are nice, but have drawbacks. 1) multipathd holds a fd per path, but callouts have to open another for themselves. Which may fail. 2) callouts stored on a multipahed filesystem may hang multipathed on paging operation when there are no active path for the hosting device (getprio is in the salvation codepath). The window is small but Netapp fault injection tool manage to triggers the bug reliably. This patch merges to priority methods in multipathd.
Diffstat (limited to 'multipath.conf.annotated')
-rw-r--r--multipath.conf.annotated15
1 files changed, 7 insertions, 8 deletions
diff --git a/multipath.conf.annotated b/multipath.conf.annotated
index e6cfe9a..f617876 100644
--- a/multipath.conf.annotated
+++ b/multipath.conf.annotated
@@ -52,14 +52,14 @@
# getuid_callout "/lib/udev/scsi_id -g -u -s /block/%n"
#
# #
-# # name : prio_callout
+# # name : prio
# # scope : multipath
-# # desc : the default program and args to callout to obtain a path
+# # desc : the default function to call to obtain a path
# # priority value. The ALUA bits in SPC-3 provide an
-# # exploitable prio value for example. "none" is a valid value
+# # exploitable prio value for example.
# # default : (null)
# #
-# #prio_callout "/bin/true"
+# #prio "alua"
#
# #
# # name : path_checker
@@ -296,15 +296,14 @@
# getuid_callout "/lib/udev/scsi_id -g -u -s /block/%n"
#
# #
-# # name : prio_callout
+# # name : prio
# # scope : multipath
-# # desc : the program and args to callout to obtain a path
+# # desc : the function to call to obtain a path
# # weight. Weights are summed for each path group to
# # determine the next PG to use case of failure.
-# # "none" is a valid value.
# # default : no callout, all paths equals
# #
-# prio_callout "/sbin/mpath_prio_balance_units %d"
+# prio "hp_sw"
#
# #
# # name : path_checker