The scsi_debug patch referred to in this post: http://marc.theaimsgroup.com/?l=linux-scsi&m=114956710925458&w=2 plus this patch from Randy Dunlap: http://marc.theaimsgroup.com/?l=linux-scsi&m=115267662413264&w=2 have appeared in the lk 2.6.18-rc series and should be in the lk 2.6.18 release. Several folks have sent patches which are in the attachment. The patch is gzipped and is against lk 2.6.18-rc7 for consideration in lk 2.6.19 . See http://www.torque.net/sg/sdebug26.html for more information on the scsi_debug driver. ChangeLog: - add 'vpd_use_hostno' parameter to allow simulated hosts to see the same set of targets (and luns). For testing multipath software. - add 'fake_rw' parameter to ignore the data in READ and WRITE commands - add support for log subpages (new in SPC-4) - yield appropriate block descriptor for MODE SENSE commands (only for pdt=0 (i.e. disks)) - REQUEST SENSE response no longer shows the stopped power condition (SAT changed to agree with SPC-3) Signed-off-by: Douglas Gilbert <dougg@xxxxxxxxxx> Doug Gilbert
Attachment:
sdebug2618rc7c.diff.gz
Description: GNU Zip compressed data