Skip to content

RFC dm-multipath: New features

Hannes Reinecke dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3scsi_dh: Allow NULL hardware handler name in scsi_dh_attach()drivers/scsi/device_handler/scsi_dh.c+6 -21 reply
2/3dm-multipath: disable partition scan featuredrivers/md/dm-mpath.c+13 -20 replies
3/3dm-multipath: 'default_hw_handler' featuredrivers/md/dm-mpath.c+22 -34 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC] [PATCH 0/3] dm-multipath: New features

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(-)