This patchset implements two features that I had requests for. The first commit adds the ability for multipath to control the scsi max_retries sysfs setting. This is useful for instances where a path hangs when attempting IO, but the path checker completes successfully. It allows the multipath device to fail quicker. When it's used like this it needs to be paired with the shaky path detection options, since multipathd will restore the path on the next checker run. The rest of the patches add the auto_resize option. This option allows users to control when multipathd will automatically resize a device, if it sees that all of its path devices have been resized. By default it is set to "never" and multipath behaves like it always has, where users need to manually resize multipath devices after all the paths have been resized. Benjamin Marzinski (7): libmultipath: Add max_retries config option libmutipath: Retain device size if sysfs_get_size fails. multipathd: check and update all paths when in cli_resize multipathd: move post-reloading commands into resize_map() multipathd: move resize_map() to multipathd/main.c multipathd: Add auto_resize config option libmultipath.version: bump ABI version to 22.0.0 libmultipath/config.c | 5 ++ libmultipath/config.h | 6 +++ libmultipath/configure.c | 1 + libmultipath/defaults.h | 1 + libmultipath/dict.c | 82 +++++++++++++++++++++++++++++++ libmultipath/dict.h | 1 + libmultipath/discovery.c | 42 +++++++++++++++- libmultipath/hwtable.c | 1 + libmultipath/libmultipath.version | 2 +- libmultipath/propsel.c | 35 +++++++++++++ libmultipath/propsel.h | 2 + libmultipath/structs.h | 15 ++++++ libmultipath/sysfs.c | 1 - multipath/multipath.conf.5.in | 38 ++++++++++++++ multipathd/cli_handlers.c | 65 ++++++++---------------- multipathd/main.c | 53 +++++++++++++++++++- multipathd/main.h | 2 + 17 files changed, 304 insertions(+), 48 deletions(-) -- 2.41.0