d3b58c006f
The translation code currently cheats a bit - it allocates a full 4KB buffer for any DATA_IN command that is not a READ, and then the different SCSI commands that fall into this category (INQUIRY, READ_CAPACITY, MODE_SENSE, etc.) can write as much data as they want without having to worry about a buffer overrun. Code higher up the stack makes sure we only send the correct amount of data back to the iSCSI initiator. This patch fixes this behavior for standard INQUIRY (EVPD = 0). Future patches will fix the behavior for other non-READ DATA_IN commands, at which point we can remove the 4KB allocation and only allocate the amount of data specified in the CDB. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: If5e4a10eeba9851e2d91cab71228d2fc2d5baad0 |
||
---|---|---|
.. | ||
bdev | ||
event | ||
ioat | ||
iscsi | ||
json | ||
jsonrpc | ||
log | ||
memory | ||
nvme | ||
nvmf | ||
scsi | ||
Makefile |