Skip to content

scsi_dh framework update take #2

Hannes Reinecke dm-devel linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7scsi_dh: Implement common device table handlingdrivers/scsi/device_handler/scsi_dh.c drivers/scsi/device_handler/scsi_dh_emc.c drivers/scsi/device_handler/scsi_dh_hp_sw.c +2 more+294 -2022 replies
2/7scsi_dh: Add 'dh_state' sysfs attributedrivers/scsi/device_handler/scsi_dh.c+105 -22 replies
3/7scsi_dh: add generic SPC-3 alua handlerdrivers/scsi/device_handler/Kconfig drivers/scsi/device_handler/Makefile drivers/scsi/device_handler/scsi_dh_alua.c +2 more+815 -00 replies
4/7scsi_dh: Update EMC handlerdrivers/scsi/device_handler/scsi_dh_emc.c+368 -1770 replies
5/7scsi_dh: Update hp_sw hardware handlerdrivers/scsi/device_handler/scsi_dh_hp_sw.c+231 -360 replies
6/7scsi_dh: Update RDAC device handlerdrivers/scsi/device_handler/scsi_dh_rdac.c+91 -671 reply
7/7scsi_dh: attach to hardware handler from dm-mpathdrivers/md/dm-mpath.c drivers/scsi/device_handler/scsi_dh.c include/scsi/scsi_dh.h+89 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] scsi_dh framework update take #2

Hi James,

this is the second repost of my patchset to update the scsi_dh infrastructure. It includes the comments by Chandra.

It's based on the current scsi-misc tree.

Main features of the patchset are:
- Use a single callback for the notifier chain
- Merge all device maps into a single list, which will be scanned by a generic function
- Add a sysfs attribute 'dh_state' for each sdev
- Add a generic SPC-3 ALUA device handler
- Update device handlers to check if the device actually supports this handler. When attaching manually we are able to attach to basically any device, so we have to make sure that the device handler is actually supported.
- Manually attach a device when a hardware handler is specified; this allows multipath to override the built-in hardware table.
- Update dm-multipath to explicitly attach to the specified device handler. This allows overriding of the built-in table by the multipath values.

As per usual, comment etc are welcome.

Cheers,

Hannes

Signature · 8 lines
Dr. Hannes Reinecke		      zSeries & Storage
[email protected]			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html