mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-21 14:46:23 +00:00
scst: Avoid that WRITE SAME(16) triggers a length mismatch message, e.g.:
scst: scst_parse_cmd:780:Warning: expected transfer length 512 for opcode 0x93 (handler vdisk_fileio, target iscsi) doesn't match decoded value 1048576. git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4369 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+1
-1
@@ -558,7 +558,7 @@ static const struct scst_sdbops scst_scsi_op_table[] = {
|
||||
0, get_trans_len_none},
|
||||
{0x93, "O O ", "WRITE SAME(16)",
|
||||
SCST_DATA_WRITE, SCST_TRANSFER_LEN_TYPE_FIXED|SCST_WRITE_MEDIUM,
|
||||
10, get_trans_len_4},
|
||||
10, get_trans_len_single},
|
||||
{0x93, " M ", "ERASE(16)",
|
||||
SCST_DATA_NONE, SCST_LONG_TIMEOUT|SCST_WRITE_MEDIUM,
|
||||
0, get_trans_len_none},
|
||||
|
||||
Reference in New Issue
Block a user