convert st and sg to always use scatterlists take 2
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.
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.