Skip to content

scsi_dh: Make scsi_dh_activate asynchronous

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

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

Versions newest first

  1. v1 Latest3 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3scsi_dh: Change the scsidh_activate interface to be asynchronousdrivers/md/dm-mpath.c drivers/scsi/device_handler/scsi_dh.c drivers/scsi/device_handler/scsi_dh_alua.c +5 more+30 -171 reply
2/3scsi_dh: Remove the workqueue used for activatedrivers/md/dm-mpath.c+4 -475 replies
3/3scsi_dh: rdac handler: Batch up MODE SELECTs and send few of themdrivers/scsi/device_handler/scsi_dh_rdac.c+104 -135 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/3] scsi_dh: Make scsi_dh_activate asynchronous

Hello All,

Currently, device handlers process path activation in series. This leads to a lot of time delay when more than 100 luns are involved. For example, with lsi rdac 100+ luns take about 12-15 minutes. This was found by Moger Babu of LSI.

This time delay can be avoided if we can do the activations asynchronously. By making scsi_dh_activate() async, we can give the device handlers an oppurtunity to decide on how to send the device activation down the wire to make the turn around time faster. They can send the commands asynchronously or send them in batches.

I brought up this issue on th emailing list few days back
(http://marc.info/?l=linux-scsi&m=123888063818755&w=2).

This set of patches applies cleanly on 2.6.30-rc3 and is tested on the same.

Please review and provide comments.

This set of patched adds asynchronous support only to rdac handler. WIll be sending patches to support other handlers too.

Thanks & Regards,

chandra