Bug in SYNCHRONIZECACHE10 ?

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

 



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.


regards
ronnie sahlberg
0.000 TESTUNITREADY 0x00
0.000 READ10    0 2 0 0 0x00
0.000 SYNCHRONIZECACHE10 0 0 1 1 0x00
0.000 SYNCHRONIZECACHE10 0 0 1 1 0x00
0.000 SYNCHRONIZECACHE10 0 0 1 1 0x00



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

  Powered by Linux