RFC dm-multipath: New features
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | scsi_dh: Allow NULL hardware handler name in scsi_dh_attach()drivers/ | +6 | 1 reply | |
| 2/3 | dm-multipath: disable partition scan featuredrivers/ | +13 | 0 replies | |
| 3/3 | dm-multipath: 'default_hw_handler' featuredrivers/ | +22 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)