qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] RFC block/iscsi command timeout


From: Kevin Wolf
Subject: Re: [Qemu-block] RFC block/iscsi command timeout
Date: Tue, 26 May 2015 11:01:16 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Am 22.05.2015 um 09:30 hat Peter Lieven geschrieben:
> Hi,
> 
> next libiscsi version will allow to define command timeouts. At least for 
> sync commands this
> was in fact possible since somewhen in 2013. Per default this timeout is 
> disabled.
> 
> I would like to at least define a timeout for the sync commands (login, 
> readcapacity, inquiry, logout etc)
> of about 5000msec.

You should probably make the timeout an integer option rather than a
boolean one. Then we don't need to discuss whether 5000 msec are
appropriate...

> The chance to the iSCSI driver of qemu would be minimal for that. The timeout
> handling is done in the sync event loop of libiscsi.
> 
> My question is if it would be a good idea to have timeout (fairly high of 
> course) for all other commands as well?

...and what "fairly high" actually means.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]