Blame SOURCES/0084-RHBZ-1110000-multipath-man.patch

38852f
---
38852f
 libmultipath/prioritizers/alua.c |    4 ++--
38852f
 multipathd/multipathd.8          |   37 +++++++++++++++++++++++++++++++++----
38852f
 2 files changed, 35 insertions(+), 6 deletions(-)
38852f
38852f
Index: multipath-tools-130222/multipathd/multipathd.8
38852f
===================================================================
38852f
--- multipath-tools-130222.orig/multipathd/multipathd.8
38852f
+++ multipath-tools-130222/multipathd/multipathd.8
38852f
@@ -42,6 +42,9 @@ format wildcards.
38852f
 .B list|show maps|multipaths
38852f
 Show the multipath devices that the multipathd is monitoring. 
38852f
 .TP
38852f
+.B list|show daemon
38852f
+Show the current state of the multipathd daemon
38852f
+.TP
38852f
 .B list|show maps|multipaths format $format
38852f
 Show the status of all multipath devices that the multipathd is monitoring,
38852f
 using a format string with multipath format wildcards.
38852f
@@ -83,16 +86,16 @@ Add a path to the list of monitored path
38852f
 .B remove|del path $path
38852f
 Stop monitoring a path. $path is as listed in /sys/block (e.g. sda).
38852f
 .TP
38852f
-.B add map $map
38852f
+.B add map|multipath $map
38852f
 Add a multipath device to the list of monitored devices. $map can either be a device-mapper device as listed in /sys/block (e.g. dm-0) or it can be the alias for the multipath device (e.g. mpath1) or the uid of the multipath device (e.g. 36005076303ffc56200000000000010aa). 
38852f
 .TP
38852f
-.B remove|del map $map
38852f
+.B remove|del map|multipath $map
38852f
 Stop monitoring a multipath device.
38852f
 .TP
38852f
 .B resize map|multipath $map
38852f
 Resizes map $map to the given size
38852f
 .TP 
38852f
-.B switch|switchgroup map $map group $group
38852f
+.B switch|switchgroup map|multipath $map group $group
38852f
 Force a multipath device to switch to a specific path group. $group is the path group index, starting with 1.
38852f
 .TP
38852f
 .B reconfigure
38852f
@@ -104,6 +107,13 @@ Sets map $map into suspend state.
38852f
 .B resume map|multipath $map
38852f
 Resumes map $map from suspend state.
38852f
 .TP
38852f
+.B reset map|multipath $map
38852f
+Reassign existing device-mapper table(s) use use the multipath device, instead
38852f
+of its path devices.
38852f
+.TP
38852f
+.B reload map|multipath $map
38852f
+Reload a multipath device.
38852f
+.TP
38852f
 .B fail path $path
38852f
 Sets path $path into failed state.
38852f
 .TP
38852f
@@ -120,10 +130,29 @@ Restore queueing on all multipath device
38852f
 Disable queuing on multipathed map $map
38852f
 .TP
38852f
 .B restorequeueing map|multipath $map
38852f
-Restore queuing on multipahted map $map
38852f
+Restore queuing on multipathed map $map
38852f
+.TP
38852f
+.B forcequeueing daemon
38852f
+Forces multipathd into queue_without_daemon mode, so that no_path_retry queueing
38852f
+will not be disabled when the daemon stops
38852f
+.TP
38852f
+.B restorequeueing daemon
38852f
+Restores configured queue_without_daemon mode
38852f
+.TP
38852f
+.B map|multipath $map setprstatus
38852f
+Enable persistent reservation management on $map
38852f
+.TP
38852f
+.B map|multipath $map unsetprstatus
38852f
+Disable persistent reservation management on $map
38852f
+.TP
38852f
+.B map|multipath $map getprstatus
38852f
+Get the current persistent reservation management status of $map
38852f
 .TP
38852f
 .B quit|exit
38852f
 End interactive session.
38852f
+.TP
38852f
+.B shutdown
38852f
+Stop multipathd.
38852f
 
38852f
 .SH "SEE ALSO"
38852f
 .BR multipath (8)
38852f
Index: multipath-tools-130222/libmultipath/prioritizers/alua.c
38852f
===================================================================
38852f
--- multipath-tools-130222.orig/libmultipath/prioritizers/alua.c
38852f
+++ multipath-tools-130222/libmultipath/prioritizers/alua.c
38852f
@@ -119,10 +119,10 @@ int getprio (struct path * pp, char * ar
38852f
 				condlog(0, "%s: couldn't get target port group", pp->dev);
38852f
 				break;
38852f
 			case ALUA_PRIO_GETAAS_FAILED:
38852f
-				condlog(0, "%s: couln't get asymmetric access state", pp->dev);
38852f
+				condlog(0, "%s: couldn't get asymmetric access state", pp->dev);
38852f
 				break;
38852f
 			case ALUA_PRIO_TPGS_FAILED:
38852f
-				condlog(3, "%s: couln't get supported alua states", pp->dev);
38852f
+				condlog(3, "%s: couldn't get supported alua states", pp->dev);
38852f
 				break;
38852f
 		}
38852f
 	}