qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] NBD handshake may block qemu main thread when socket delays or has packet loss
@ 2017-01-04  8:45 Fangyi (C)
  2017-01-04 20:44 ` Eric Blake
  0 siblings, 1 reply; 3+ messages in thread
From: Fangyi (C) @ 2017-01-04  8:45 UTC (permalink / raw)
  To: kwolf, mreitz, pbonzini
  Cc: wu.wubin, eblake, qemu-block, qemu-devel, subo7, lina.lulina,
	jiangxiaoqing (C)

     As we all know, socket is in blocking mode when nbd is negotiating 
with the other end. If the network is poor because of delay or packet 
loss, socket read or write will return very slowly. The mainloop events 
won't be handled in time util nbd handshake ends.

     Any advices to solve the problem?
     Thanks,


Regards,
     FANG Yi.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-12 14:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-04  8:45 [Qemu-devel] NBD handshake may block qemu main thread when socket delays or has packet loss Fangyi (C)
2017-01-04 20:44 ` Eric Blake
2017-01-12 14:40   ` [Qemu-devel] [Qemu-block] " Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).