Skip to content

scsi_dh update

Chandra Seetharaman dm-devel linux-scsi 1 version In review

Get series with b4
b4 am 20080717235245.23056.89788.sendpatchset@chandra-ubuntu

Versions newest first

  1. v1 Latest8 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8scsi_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+299 -2220 replies
2/8scsi_dh: Add 'dh_state' sysfs attributedrivers/scsi/device_handler/scsi_dh.c+102 -10 replies
3/8scsi_dh: Update EMC handlerdrivers/scsi/device_handler/scsi_dh_emc.c include/scsi/scsi_dh.h+373 -1750 replies
4/8scsi_dh: Update hp_sw hardware handlerdrivers/scsi/device_handler/scsi_dh_hp_sw.c+234 -380 replies
5/8scsi_dh: Update RDAC device handlerdrivers/scsi/device_handler/scsi_dh_rdac.c+94 -690 replies
6/8scsi_dh: add generic SPC-3 alua handlerdrivers/scsi/device_handler/Kconfig drivers/scsi/device_handler/Makefile drivers/scsi/device_handler/scsi_dh_alua.c +1 more+814 -00 replies
7/8scsi_dh: attach to hardware handler from dm-mpathdrivers/md/dm-mpath.c drivers/scsi/device_handler/scsi_dh.c include/scsi/scsi_dh.h+87 -02 replies
8/8scsi_dh: create lookup cachedrivers/scsi/device_handler/scsi_dh.c+104 -230 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/8] scsi_dh update

Hi James, Hannes,

These are the same set of patches that Hannes sent early this morning with the prelog below.

I just ported it to compile clean on top of 2.6.26-git6.

Made 3 additional changes:
1. Added a break under MODE_SELECT option in function get_req() (in 3/8)
2. Added the ifndef portion for scsi_dh_attach() and scsi_dh_detach (in 6/8)
3. Moved the definition of SCSI_DH_DEV_UNSUPP from 6/8 to 3/8.

regards,

chandra
------ Here is the 0/8 from Hannes's original patchset. -----------

Hi James,

this is the (hopefully final) update to my scsi_dh patchset. Features are:

- Move device-table matching into the device_handler infrastructure, so that individual drivers don't have to implement it themselves
- Adds a 'dh_state' sysfs attribute for manually attaching device handler to new or unknown disks; this allows to override the internal device tables
- Update the dm-multipath code to attach the device handler specified in the multipath configuration
- Add a cache to speed up lookup of several identical devices
- Update existing EMC, RDAC, and hp_sw device handler to use the new infrastructure
- Add new SPC-3 ALUA device handler

The NetApp device handler has been left out for now as it's still under development.

Please apply.

Cheers,

Hannes
--------------------------------------------------------------------