Re: iscsi initiastor library for kvm/qemu

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

 



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@xxxxxxxxxxxxx> wrote:
> On Sat, 20 Nov 2010 16:31:18 +1100
> ronnie sahlberg <ronniesahlberg@xxxxxxxxx> 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.
>

Attachment: tomo.tgz
Description: GNU Zip compressed data


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

  Powered by Linux