Il 02/05/2013 14:23, Stefan Hajnoczi ha scritto:
> These patches switch from fixed-size 1 MB data buffers to dynamically sized
> buffers in NBD.  This is necessary because the Linux nbd driver now allows up
> to 32 MB request size.
> 
> Patch 1 gets rid of the request freelist, which becomes pointless when data
> buffers are no longer reused.
> 
> Patch 2 dynamically sizes the data buffer.
> 
> Stefan Hajnoczi (2):
>   nbd: use g_slice_new() instead of a freelist
>   nbd: support large NBD requests
> 
>  include/block/nbd.h |  3 ++-
>  nbd.c               | 36 +++++++++++++++---------------------
>  2 files changed, 17 insertions(+), 22 deletions(-)
> 

The limit is now 0.5 GB per NBD device.  It's quite a lot, but still
bearable and should be lower usually.

Reviewed-by: Paolo Bonzini <pbonz...@redhat.com>

Paolo

Reply via email to