[stgt] Bug in SYNCHRONIZECACHE10 ?
ronnie sahlberg
ronniesahlberg at gmail.com
Sat Nov 20 23:56:07 CET 2010
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
-------------- next part --------------
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
More information about the stgt
mailing list