|
From: Bart V. A. <bva...@ac...> - 2019-06-10 21:13:49
|
On 6/10/19 12:28 AM, Rob Turk wrote: > When my user mode software receives SCST_USER_PARSE, it processes the > data as described in the scst_user_spec.pdf manual. One of the fields is > cmd->op_flags which has a SCST_INFO_VALID flag bit, which is almost > always set. > > When my tape emulator software receives a SCSI Set Capacity command > (SCSI command 0x0b), the SCST_INFO_VALID bit is not set. What are the > proper steps to set up a valid response from this situation? Hi Rob, I think that adding support for the Set Capacity command requires to add an entry to the scst_scsi_op_table[] array in scst_lib.c. A patch that adds Set Capacity command support would be welcome. Thanks, Bart. |