scst: Increase the maximum READ CAPACITY(16) response buffer size

From the libiscsi source code:

        readcapacity16(sd, &rc16_task, /*alloc_len=*/96, EXPECT_STATUS_GOOD);

Hence increase the limit from 32 to 128.

Fixes: dd467b0eda ("scst: Limit the size of READ CAPACITY buffers")



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9340 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2021-02-09 03:37:28 +00:00
parent 92a6dad912
commit c522f2448d

View File

@@ -11216,7 +11216,7 @@ static int get_cdb_info_serv_act_in(struct scst_cmd *cmd,
SCST_REG_RESERVE_ALLOWED |
SCST_WRITE_EXCL_ALLOWED |
SCST_EXCL_ACCESS_ALLOWED;
cmd->log2_max_buf_len = 5;
cmd->log2_max_buf_len = 7;
break;
case SAI_GET_LBA_STATUS:
cmd->op_name = "GET LBA STATUS";