[stgt] iscsi initiastor library for kvm/qemu
ronnie sahlberg
ronniesahlberg at gmail.com
Mon Nov 22 09:33:15 CET 2010
Tomo,
No, the code in dbench is synchronous :-(
My new async iscsi library can do that though.
Please find attached an archive that contains the early library and
also a program tomo.c (im not good with creating names)
This application connects, logs in and does a few testunit.
Then it sends 100 1block reads to the lun and immediately exists and
tears down the connection once the 100 read commands has been written
to the socket.
Unless your server is very fast, it should not be able to respond to
all of them before the tcp session is torn down.
I think this program should do what you need.
regards
ronnie sahlberg
On Mon, Nov 22, 2010 at 7:04 PM, FUJITA Tomonori
<fujita.tomonori at lab.ntt.co.jp> wrote:
> On Sat, 20 Nov 2010 16:31:18 +1100
> ronnie sahlberg <ronniesahlberg at gmail.com> wrote:
>
>> Anyone interested in an iscsi client library and building applications
>> thereon are encouraged to view it and perhaps contribute.
>
> dbench (or this library) enables me to send multiple scsi commands to
> a target and close the connection without waiting for the responses?
>
> As you know, I need to fix tgt's bug(s) about closing a connection
> with the outstanding commands.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tomo.tgz
Type: application/x-gzip
Size: 28151 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20101122/c6b7e69b/attachment-0002.bin>
More information about the stgt
mailing list