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

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