Re: Bug in SYNCHRONIZECACHE10 ?

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

 



Yes that works.
Sorry for the false alarm.


regards
ronnie sahlberg

On Sun, Nov 21, 2010 at 12:37 PM, FUJITA Tomonori
<fujita.tomonori@xxxxxxxxxxxxx> wrote:
> On Sun, 21 Nov 2010 09:56:07 +1100
> ronnie sahlberg <ronniesahlberg@xxxxxxxxx> wrote:
>
>> List,
>>
>> I think there is a bug in the implementation of SYNCHRONIZECACHE10 command.
>>
>> The bug can be reproduced using the latest git version of
>> dbench.samba.org  and using the following command line :
>>
>> ./dbench -B iscsi --iscsi-portal=127.0.0.1 --iscsi-port=3260
>> --iscsi-target=iqn.ronnie.test --iscsi-lun=1 --loadfile=./iscsi.txt
>> --warmup=0 --run-once 1
>>
>> The loadfile that generates the SYNCHRONIZECACHE10 command is simple
>> text file that I have attached.
>>
>>
>> It actually never even reaches the sbc_sync_cache() function but is
>> aborted somewhere prior.
>> It seems to fail in us_sense_del() when called from scsi_cmd_perform()
>> so for this opcode it never gets to
>> call down to the actual emulation function.
>
> Hmm, the attached script fails because you set an immediate bit?
>
> It works if I modify the script in the following way:
>
> 0.000 SYNCHRONIZECACHE10 0 0 1 0 0x00
>
--
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