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

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