On Sun, 2012-05-13 at 23:39 +0200, Bernhard Kohl wrote: > Some legacy OS use WRITE_VERIFY on hard disks. > > Signed-off-by: Bernhard Kohl <bernhard.kohl@xxxxxxx> > --- > drivers/target/target_core_transport.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c > index 9742f10..2d75c29 100644 > --- a/drivers/target/target_core_transport.c > +++ b/drivers/target/target_core_transport.c > @@ -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, §or_ret); > if (sector_ret) > goto out_unsupported_cdb; Hi Bernhard, I think this patch looks fine, applied to lio-core.git Thanks! --nab -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html