This patch addresses clients who needs write_verify_16 for
large volume groups such as AIX.
Signed-off-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
cmd->t_task_lba = transport_lba_32(cdb);
break;
case VERIFY_16:
+ case WRITE_VERIFY_16:
*sectors = transport_get_sectors_16(cdb);
cmd->t_task_lba = transport_lba_64(cdb);
break;
cmd->execute_cmd = sbc_execute_rw;
break;
case WRITE_VERIFY:
+ case WRITE_VERIFY_16:
ret = sbc_parse_verify(cmd, §ors, &size);
if (ret)
return ret;
#define WRITE_16 0x8a
#define READ_ATTRIBUTE 0x8c
#define WRITE_ATTRIBUTE 0x8d
+#define WRITE_VERIFY_16 0x8e
#define VERIFY_16 0x8f
#define SYNCHRONIZE_CACHE_16 0x91
#define WRITE_SAME_16 0x93