[dm-devel] [PATCH 11/17] multipath: Fix minor text issues

2016-03-28 Thread Benjamin Marzinski
The multipath.conf man page gave the incorrect default for queue_without_daemon. The multipath usage output listed the -p option twice. And multipath was misspelled in an mpathpersist error message. This patch fixes these issues. Signed-off-by: Benjamin Marzinski ---

[dm-devel] [PATCH 01/17] multipathd: use /run instead of /var/run

2016-03-28 Thread Benjamin Marzinski
/var/run is now usually a symlink to /run. If /var is on a separate filesytem, when multipathd starts up, it might end up writing to /var/run before the /var filesytem is mounted and thus not have its pidfile accessible at /var/run afterwards. On most distrubutions /run is now a tmpfs and should

[dm-devel] [PATCH 06/17] libmultipath: fix PAD and PRINT macros

2016-03-28 Thread Benjamin Marzinski
The PAD and PRINT macros are multi-line macros that aren't enclosed in braces. This means that if they are used as single line code blocks with no braces, they won't work correctly. This is currently happening with the PAD macro, but should be fixed in both. Signed-off-by: Benjamin Marzinski

[dm-devel] [PATCH 08/17] multipathd: fail if pidfile can't be created

2016-03-28 Thread Benjamin Marzinski
Right now, multipathd ignores failures from pidfile_create. This means that multiple multipathd processes can be running at the same time. If someone runs "multipathd" and doesn't add a command after it, a new process will be created, even if one is already running. To avoid this, multipathd

[dm-devel] [PATCH 00/17] Multipath patch sync

2016-03-28 Thread Benjamin Marzinski
Here's a bunch of miscellaneous multipath patches. The first couple are resends, with the following changes: multipathd: use /run instead of /var/run - Added Makefile code to verify that /var/run is actually a symlink retrigger uevents to try and get the