scsi_dh: Move hardware handlers from dm to SCSI
Get series with b4
b4 am 20080501214941.27759.95121.sendpatchset@chandra-ubuntuVersions newest first
- v1 Latest10 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | scsi_dh: add infrastructure for SCSI Device Handlersdrivers/ drivers/ drivers/ +8 more | +283 | 0 replies | |
| 2/10 | scsi_dh: add lsi rdac device handlerdrivers/ drivers/ drivers/ | +698 | 0 replies | |
| 3/10 | scsi_dh: add hp sw device handlerdrivers/ drivers/ drivers/ | +211 | 0 replies | |
| 4/10 | scsi_dh: add EMC Clariion device handlerdrivers/ drivers/ drivers/ | +506 | 0 replies | |
| 5/10 | scsi_dh: Use SCSI device handler in dm-multipathdrivers/ drivers/ | +81 | 0 replies | |
| 6/10 | scsi_dh: Do not allow arguments for hardware handlersdrivers/ | +6 | 2 replies | |
| 7/10 | scsi_dh: Add a single threaded workqueue for initializing pathsdrivers/ | +34 | 0 replies | |
| 8/10 | scsi_dh: Remove dm_pg_init_completedrivers/ | +0 | 0 replies | |
| 9/10 | scsi_dh: Remove hardware handlers from dmdrivers/ drivers/ drivers/ +2 more | +0 | 0 replies | |
| 10/10 | scsi_dh: Remove hardware handler infrastructure from dmdrivers/ drivers/ drivers/ +1 more | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] scsi_dh: Move hardware handlers from dm to SCSI
Hello,
This is the latest version of the patchset that was posted on Apr 17:
http://marc.info/?l=linux-scsi&m=120847097122545&w=2
Following are the changes made since last post:
Based on Alasdair's comments:
- Split the dm-mpath patch into 4 patches to enhance readabilty
- Added comments to patch header and inline
- Added an interface scsi_dh_handler_exist() and used it to verify the availability of a hardware handler
- Do not accept arguments with the hardware handler parameter
- Make the workqueue single threaded, and change its name
- removed the usage of path_to_activate and used an existing field -renamed activate_passive_path to activate_path
- Bring back the pg_init_retries.
Others:
- Added additional devices to the device list
- removed few erroneous BUG assertions
- Fixed an erroneous return code from scsi_dh_rdac.c.
This patch set applies on 2.6.25-mm1.
This patch set has been tested on a DS4800.
Testing has been done earlier with the following storage devices:
- IBM DS4800 storage device for the lsi_rdac hardware handler
- HP storage device for the hp_sw hardware handler.
Thanks to Dave([email protected])
- EMC storage device for the EMC hardware handler.
Thanks to Arthur([email protected]) and Ronald([email protected])
In effect all hardware handlers are tested.
-------------------- Comment from Patch 01/10 --------------------- Some of the storage devices (that can be accessed through multiple paths), do need some special handling for
1. Activating the passive path of the storage access.
2. Decode and handle the special sense codes returned by the devices.
3. Handle the I/Os being sent to the passive path, especially during the device probe time.
when accessed through multiple paths.
As of today this special device handling is done at the dm-multipath layer using dm-handlers. That works well for (1); for (2) to be handled at dm layer, scsi sense information need to be exported from SCSI to dm-layer, which is not very attractive; (3) cannot be done at all at the dm layer.
Device handler has been moved to SCSI mainly to handle (2) and (3) properly.
----------------------
Thanks,
chandra