Skip to content

sg_ring for scsi

Rusty Russell linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5sg_ring: sg_ring.hinclude/linux/sg_ring.h+124 -00 replies
2/5dma_map_sg_ring() helperdrivers/base/dma-mapping.c include/linux/dma-mapping.h+60 -08 replies
3/5blk_rq_map_sg_ring as a counterpart to blk_rq_map_sg.block/ll_rw_blk.c include/linux/blkdev.h+65 -00 replies
4/5sg_ring: Convert core scsi code to sg_ring.drivers/scsi/scsi_error.c drivers/scsi/scsi_lib.c drivers/scsi/scsi_lib_dma.c +3 more+88 -1510 replies
5/5sg_ring: Convert scsi_debugdrivers/scsi/scsi_debug.c+19 -190 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/5] sg_ring for scsi

OK, some fixes since last time, as I wade through more SCSI drivers. Some drivers use "use_sg" as a flag to know whether the request_buffer is a
scatterlist: I don't need the counter, but I still need the flag, so I fixed that in a more intuitive way (an explicit ->sg pointer in the cmd).

Also, I've updated and tested scsi_debug, after Douglas's excellent suggestion.

(I just found out about struct scsi_pointer, so I'm off to update that now, too).

Cheers,
Rusty.