提交 66246617 编写于 作者: B Bernhard Kohl 提交者: Nicholas Bellinger

target: add support for the WRITE_VERIFY command

Some legacy OS use WRITE_VERIFY on hard disks.
Signed-off-by: NBernhard Kohl <bernhard.kohl@gmx.net>
Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
上级 33933a0e
......@@ -2481,6 +2481,7 @@ static int transport_generic_cmd_sequencer(
cmd->se_cmd_flags |= SCF_SCSI_DATA_SG_IO_CDB;
break;
case WRITE_10:
case WRITE_VERIFY:
sectors = transport_get_sectors_10(cdb, cmd, &sector_ret);
if (sector_ret)
goto out_unsupported_cdb;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册