Commit 66246617 authored by Bernhard Kohl's avatar Bernhard Kohl Committed by Nicholas Bellinger

target: add support for the WRITE_VERIFY command

Some legacy OS use WRITE_VERIFY on hard disks.
Signed-off-by: default avatarBernhard Kohl <bernhard.kohl@gmx.net>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment