Skip to contentSkip to conversation

convert st and sg to always use scatterlists take 2

PATCH In review Mike Christie 1 participant 2 messages Sep 16, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

cover convert st and sg to always use scatterlists take 2

The following patches are a second (actually third if you count when I tried to fixup all their duplicated code but broke a lot of features the first time) try at converting sg and st to not use scsi_requests and always use scatterlists.

It is not the grand cleanups I had hoped to do. It does allow us to finish converting scsi-ml and LLDs without breaking anything though. It is also a nice bit of cleanup for sg. I do hope to still move the the ULDs to use the block layer blk_rq_map_user* functions for DIO and copy_to/from_user cases so we can kill a lot of their code. And we should be able to consolidate their buffer allocation code soon.

If these patches are ok, we just have to convert gdth, osst and cpqfc.

#1 lore raw
Quoted 1 line · Mike Christie

The following patches are a second (actually third if you count when I

oh yeah these patches were made against scsi-rc-fixes again.