Skip to content

scsi_dh: Move hardware handlers from dm to SCSI

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7scsi_dh: add skeleton for SCSI Device Handlersdrivers/scsi/Kconfig drivers/scsi/Makefile drivers/scsi/device_handler/Kconfig +7 more+266 -00 replies
2/7scsi_dh: add lsi rdac device handlerdrivers/scsi/device_handler/Kconfig drivers/scsi/device_handler/Makefile drivers/scsi/device_handler/scsi_dh_rdac.c+679 -00 replies
3/7scsi_dh: add hp sw device handlerdrivers/scsi/device_handler/Kconfig drivers/scsi/device_handler/Makefile drivers/scsi/device_handler/scsi_dh_hp_sw.c+210 -01 reply
4/7scsi_dh: add EMC Clariion device handlerdrivers/scsi/device_handler/Kconfig drivers/scsi/device_handler/Makefile drivers/scsi/device_handler/scsi_dh_emc.c+506 -00 replies
5/7scsi_dh: Use SCSI device handler in dm-multipathdrivers/md/Kconfig drivers/md/dm-mpath.c+112 -1150 replies
6/7scsi_dh: Remove hardware handlers from dmdrivers/md/Kconfig drivers/md/Makefile drivers/md/dm-emc.c +2 more+0 -13170 replies
7/7scsi_dh: Remove hardware handler infrastructure from dmdrivers/md/Makefile drivers/md/dm-hw-handler.c drivers/md/dm-hw-handler.h +1 more+1 -2780 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/7] scsi_dh: Move hardware handlers from dm to SCSI

Hello,

Set of patches that follow this email facilitate movement of hardware handlers from dm layer to SCSI layer.

Previous set of patches that implemented this was posted on Feb 27:
http://marc.info/?l=linux-scsi&m=120416126328081&w=2

Changes have been made based on feedback received from James and Mike Anderson.

Following are the changes:
- Reduced the number of pointers used in scsi_device data structure from 2 to 1.
- Added a special return code for check_sense function to return when the sense code is not handled by hardware handler's check_sense fucntion.
- Added a request pointer argument to hardware handler's prep_fn.

Patches are created on top of 2.6.25-rc2-mm1.

Testing has been done with a IBM DS4800 storage device, which means the infrastructure and the lsi_rdac hardware handler has been tested. Testing by someone with the EMC hardware and/or HP hardware would be appreciated.

Comments, suggestions solicited.

Thanks,

chandra

Signature · 4 lines
----------------------------------------------------------------------
    Chandra Seetharaman               | Be careful what you choose....
              - [email protected]   |      .......you may get it.
----------------------------------------------------------------------