- Update Changelog
Document 'wwids_file' and 'reservation_key'

Add documentation for 'wwids_file' and 'reservation_key' to
multipath.conf.annotated.

References: bnc#820899

Signed-off-by: Hannes Reinecke <hare@suse.de>
- Update Changelog.
libmultipath: Fix typo in retain_attached_hw_handler

Signed-off-by: Hannes Reinecke <hare@suse.de>
multipath: do not print 'path is up' for removed paths

When a path is removed the previous checker message is still
kept in the checker context, and will be printed upon each
check. This causes multipath to print out
'path is up'
even though it already has been removed from sysfs.

References: bnc#789239

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

The final comparison was wrong; 'size' was never decreased.

Signed-off-by: Hannes Reinecke <hare@suse.de>
libmultipath: return error numbers from sysfs_get_XXX

Instead of returning hand-crafted error values from sysfs_get_XXX
functions we should be using the standard error numbers.

Signed-off-by: Hannes Reinecke <hare@suse.de>
libmultipath: proactively remove path

When path_offline() detects a removed path we really do not need
to wait for any uevent to arrive, but can remove the path
straightaway.

References: bnc#789239

Signed-off-by: Hannes Reinecke <hare@suse.de>
multipath: do not call tur in sync mode if pthread_cancel fails

When pthread_cancel fails the thread is stuck, most likely
during I/O submission. So it would be pointless to call the
tur checker in sync mode here, as this would be stuck, too.
Hence we should rather return 'PATH_TIMEOUT' and hope the
situation resolves itself over time.

References: bnc#832796

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