mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 05:01:27 +00:00
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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user