mbox series

[v2,0/6] add support of RSOC command

Message ID 20220905173837.2383-1-d.bogdanov@yadro.com (mailing list archive)
Headers show
Series add support of RSOC command | expand

Message

Dmitry Bogdanov Aug. 15, 2022, 7:17 a.m. UTC
This patchset is based on 6.1/scsi-queue.

The patchset adds support of REPORT SUPPORTED OPERATION CODES command
according to SPC4. Including CDB USAGE DATA and timeout descriptors.
Timeout descriptors are zeroed currently, meaning that no time is
indicated, but an encoding of it there is.
Opcode support and Usage Data are dynamically generated - reflects
the backstore configuration.
libiscsi tests for RSOC and tests that uses RSOC command are all PASSED.

v2:
  fix sparse warnings
  remove extra space
  remove XDWRITEREAD_*
  fix tcm_is_ws_enabled

Dmitry Bogdanov (6):
  scsi: target: core: add support of RSOC command
  scsi: target: core: add list of opcodes for RSOC
  scsi: target: core: dynamic opcode support in RSOC
  scsi: target: core: add emulate_rsoc attribute
  scsi: target: check emulate_3pc for RECEIVE COPY
  scsi: target: core: dynamicaly set dpofua in usage_bits

 drivers/target/target_core_configfs.c |  20 +
 drivers/target/target_core_device.c   |   1 +
 drivers/target/target_core_spc.c      | 920 ++++++++++++++++++++++++++
 drivers/target/target_core_xcopy.c    |   6 +
 include/scsi/scsi_proto.h             |  10 +
 include/target/target_core_base.h     |  18 +
 6 files changed, 975 insertions(+)