Skip to content

remove scsi_request usage from sg and st

Mike Christie linux-scsi 1 version In review

Get series with b4
b4 am 1131444389.23111.56.camel@max

Versions newest first

  1. v1 Latest10 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10export block layer helpersdrivers/block/ll_rw_blk.c include/linux/blkdev.h+10 -10 replies
2/10seperate max sectors and max hw sectorsdrivers/block/DAC960.c drivers/block/cciss.c drivers/block/floppy.c +28 more+82 -516 replies
3/10add scsi_execute_async and scsi helpersdrivers/scsi/scsi_error.c drivers/scsi/scsi_lib.c drivers/scsi/scsi_priv.h +3 more+240 -791 reply
4/10convert sg to scsi_execute_asyncdrivers/scsi/sg.c+256 -4240 replies
5/10convert st to use scsi_execute_asyncdrivers/scsi/st.c drivers/scsi/st.h+120 -14411 replies
6/10add request retries fielddrivers/block/scsi_ioctl.c drivers/scsi/scsi_lib.c drivers/scsi/sd.c +3 more+11 -50 replies
7/10don't partially completre REQ_PC commandsdrivers/scsi/scsi_lib.c drivers/scsi/st.c+12 -20 replies
8/10st must check phys and hw segments limits nowdrivers/scsi/st.c+2 -10 replies
9/10test max hw sectors for REQ_PC commandsdrivers/block/ll_rw_blk.c drivers/scsi/scsi_lib.c+16 -30 replies
10/10make all scsi REQ_PC use the same setup and completion paths.drivers/scsi/scsi_lib.c drivers/scsi/sd.c drivers/scsi/sr.c +1 more+7 -1160 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/10] remove scsi_request usage from sg and st

The following patches, made against scsi-misc, remove the scsi_request usage from st and sg, do some tiny cleanup on sg, and make sg and st always perform scatterlist IO.

I have tested against libata and scsi_debug for disks. There are slight changes, so someone with a tape device should test the patches, but Kai since Kai did all the debugging last round I have not made many changes. We will probably hit many problems with LLDs using low max_hw_sectors, because they have not been converted to export their real values on the host template so I think these patches should sit in scsi-misc for a good deal of time.