Re: [PATCH] COMPARE_AND_WRITE: Fix this opcode so it works according to SBC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 16 Nov 2012 18:26:52 -0800
Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx> wrote:

> After reading SBC again it becomes a lot more clear how this
> opcode works.
> Reactivate the opcode and implement it properly.
> Compare the first "number of blocks" from DATA-OUT with the existing
> content of these blocks on the LUN.
> If it compare ok, then overwrite these block on the lun with the
> next "number of blocks" from the DATA-OUT buffer.
> 
> Signed-off-by: Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx>
> ---
>  usr/bs_rdwr.c |   21 +++++++++++++++++----
>  usr/sbc.c     |    2 +-
>  2 files changed, 18 insertions(+), 5 deletions(-)

Thanks,

COMPARE_AND_WRITE broke VMware previously? Someone needs to test this
with the previous environment.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux