This patchset implements two new features, 'no_partitions'
and 'default_hw_handler'.
The 'no_partition' feature is just a marker for kpartx
to not attempt partitions scanning on these devices.
The 'default_hw_handler' feature allows for a 'default'
hardware handler. Problem is that multipath-tools only has
a static setting for the hardware handler of a device. The
kernel, however, is able to distinguish between various
possible hardware handler and might already have attached
a different one.
So by specifying the feature 'default_hw_handler'
the dm-multipath module is instructed to use the
currently selected one, and not the one specified
during table creation.
This is an alternative implementation to Mike Snitzers
'default' hardware handler implementation.
Hannes Reinecke (3):
scsi_dh: Allow NULL hardware handler name in scsi_dh_attach()
dm-multipath: disable partition scan feature
dm-multipath: 'default_hw_handler' feature
drivers/md/dm-mpath.c | 36 ++++++++++++++++++++++++++++++--
drivers/scsi/device_handler/scsi_dh.c | 8 +++++-
2 files changed, 39 insertions(+), 5 deletions(-)