Move hardware handlers from dm layer to SCSI layer
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | scsi_dh: add skeleton for SCSI Device Handlersdrivers/ drivers/ drivers/ +6 more | +256 | 2 replies | |
| 2/7 | scsi_dh: add lsi rdac device handlerdrivers/ drivers/ drivers/ | +667 | 0 replies | |
| 3/7 | scsi_dh: add hp sw device handlerdrivers/ drivers/ drivers/ | +202 | 0 replies | |
| 4/7 | scsi_dh: add EMC Clariion device handlerdrivers/ drivers/ drivers/ | +495 | 0 replies | |
| 5/7 | scsi_dh: Use SCSI device handler in dm-multipathdrivers/ drivers/ | +115 | 0 replies | |
| 6/7 | scsi_dh: Remove hardware handlers from dmdrivers/ drivers/ drivers/ +2 more | +0 | 0 replies | |
| 7/7 | 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 0/7] Move hardware handlers from dm layer to SCSI layer
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 Jan 24:
http://marc.info/?l=linux-scsi&m=120113462706925&w=2
Changes have been made based on feedback received from James, Alasdair, Mike Christie and Mike Anderson.
Following are the changes:
- Removed scsi_dh hardware handler in the dm layer. This means no change (not even a change in the multipath.conf file) is required in user space.
- Replaced REQ_OP_LB_TRANSITION with an activate() function.
- Removed the SDEV_PASSIVE and added a prep_fn to the device handler, hence giving it the veto power.
- Replaced blk_execute_rq_nowait() with blk_execute_rq() in device handlers to make them synchronous. Added a thread(work queue) to dm-multipath to handle requests asynchronously.
- Added Ed's changes to the EMC hardware handler.
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.
----------------------------------------------------------------------