Handle SCSI device states "quiesce" and "transport-offline" properly

References: bnc#819588

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Make 'multipath -t' able to run as normal user

'multipath -t' should be run as normal user, as we might be
needing it to update the default configuration.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Update multipath.conf.defaults

Signed-off-by: Hannes Reinecke <hare@suse.de>
multipath.conf.annotated: Document rr_min_io_rq

rr_min_io_rq wasn't documented in multipath.conf.annotated.

References: bnc#820899

Signed-off-by: Hannes Reinecke <hare@suse.de>
Correctly print out 'max' for max_fds

If the value specified for 'max_fds' is the system-wide limit
we should be printing out 'max', and not that value.

References: bnc#820899

Signed-off-by: Hannes Reinecke <hare@suse.de>
Correctly set max_fds in case of failure

If we fail to get the system limit for max_fds we should assume
a safe value of 4096.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Update multipath.conf.defaults

Signed-off-by: Hannes Reinecke <hare@suse.de>
Correctly set pgfailback

Something weird happened to pgfailback; no default was assigned
when loading the configuration, but then it got set (wrongly)
to the default value when printing the configuration.

References: bnc#820899

Signed-off-by: Hannes Reinecke <hare@suse.de>
multipath.conf.5: clarify 'no_path_retry' default setting

The default setting for 'no_path_retry' is 'unset', so we should
be stating this in the man page.

References: bnc#820899

Signed-off-by: Hannes Reinecke <hare@suse.de>