scsi_data_buffer structure (in preparation for bidi)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | add scsi_data_buffer structuredrivers/ include/ | +69 | 0 replies | |
| 2/9 | convert sd and sr to use scsi_data_bufferdrivers/ drivers/ | +16 | 0 replies | |
| 3/9 | convert scsi_error.c to use scsi_data_bufferdrivers/ | +11 | 0 replies | |
| 4/9 | scsi_debug: convert to use the data buffer accessorsdrivers/ | +10 | 2 replies | |
| 5/9 | tgt: convert to use scsi_data_bufferdrivers/ drivers/ | +15 | 0 replies | |
| 6/9 | tgt: convert ibmvstgt and libsrp to use scsi_data_bufferdrivers/ drivers/ | +15 | 6 replies | |
| 7/9 | qla1280: convert to use the data buffer accessorsdrivers/ | +154 | 0 replies | |
| 8/9 | ide-scsi: convert to use the data buffer accessorsdrivers/ | +12 | 0 replies | |
| 9/9 | libata-scsi: convert to use the data buffer accessorsdrivers/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] scsi_data_buffer structure (in preparation for bidi)
This patchset, which I submitted before, adds a new data structure, scsi_data_buffer, including everything for data transfer:
struct scsi_data_buffer {
unsigned length;
int resid;
short sg_count;
short __sg_count;
struct scatterlist *sglist;
};One scsi_data_buffer structure is embedded in struct scsi_cmnd for uni-directional transfer. All the members are just moved from scsi_cmnd structure to scsi_data_buffer structure. So nothing is added to scsi_cmnd structure.
After applying this patchset, llds must use the scsi data accessors. This patchset includes some conversation patches (most of them are patches that Boaz submitted before), however there is still some code that is needed to be converted.
Boaz, if you still have other conversation patches, please submit them.
I suspect that nobody cares about some of unconverted llds, which will be not compilable after this patchset. I'll fix ldds that people complain about.
It's difficult to test this patchset in -mm via scsi-misc. Jens, please send this to -mm via the block tree.