[stgt] [PATCH 0/0] Add some missing opcodes
ronniesahlberg at gmail.com
Wed Jan 25 07:37:25 CET 2012
This series of three patches add three missing opcodes to TGTD for SBC emulation.
PRE-FETCH 10/16 is implemented and calls the proper posix function to tell the kernel that we will shortly (probably) need to access this data, which might improve performance for such initiators/applications that use PRE-FETCH.
FORMAT-UNIT is Mandatory for SBC devices, but only a small limited subset of all funtionality is actually mandatory (the rest is optional).
Implement the mandatory part of FORMAT-UNIT, which is basically no "initialization or patterns" and no "defect list".
Respond with illegal field in cdb for all other caSES.
SEND-DIAGNOSTICS is Mandatory for SBC and SSC devices, however only the SeftTest varient of this opcode is mandatory.
Implement a SelfTest stub and respond with illegal field in cdb for all other tests.
With FORMAT-UNIT and SEND-DIAGNOSTICS added I think we now implement all mandatory opcodes for a SBC device. Yiiiipee.
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt