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

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