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

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