[Top][All Lists]

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

[Qemu-devel] [PATCH 0/2] nbd: support large NBD requests

From: Stefan Hajnoczi
Subject: [Qemu-devel] [PATCH 0/2] nbd: support large NBD requests
Date: Thu, 2 May 2013 14:23:06 +0200

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(-)


reply via email to

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