« Previous | Next » 

Revision 41996e38

ID41996e3803119541d43bfa59060024a22b803342

Added by Paolo Bonzini over 12 years ago

qemu-nbd: throttle requests

Limiting the number of in-flight requests is implemented very simply
with a can_read callback. It does not require a semaphore, unlike the
client side in block/nbd.c, because we can throttle directly the creation
of coroutines. The client side can have a coroutine created at any time
when an I/O request is made.

Signed-off-by: Paolo Bonzini <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences