TESTS: Add a test for the reprot one command reporting options for
REPORT SUPPORTED OPCODES. Opcodes that are listed in the full list of all supported opcodes as taking a service action should work to ask reporting option 2 (uses service action) from but fail when asked for option 1 (no service action) Similarly, opcodes that are flagged as not taking a service action should work when used with option 1 but fail with option 2.
This commit is contained in:
@@ -244,6 +244,7 @@ int readcapacity10_nomedium(struct iscsi_context *iscsi, int lun, uint32_t lba,
|
||||
int readcapacity16(struct iscsi_context *iscsi, int lun, int alloc_len);
|
||||
int readcapacity16_nomedium(struct iscsi_context *iscsi, int lun, int alloc_len);
|
||||
int report_supported_opcodes(struct iscsi_context *iscsi, int lun, int rctd, int options, int opcode, int sa, int alloc_len, struct scsi_task **save_task);
|
||||
int report_supported_opcodes_invalidfieldincdb(struct iscsi_context *iscsi, int lun, int rctd, int options, int opcode, int sa, int alloc_len, struct scsi_task **save_task);
|
||||
int release6(struct iscsi_context *iscsi, int lun);
|
||||
int reserve6(struct iscsi_context *iscsi, int lun);
|
||||
int reserve6_conflict(struct iscsi_context *iscsi, int lun);
|
||||
|
||||
Reference in New Issue
Block a user