qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] nbd: support large NBD requests
@ 2013-05-02 12:23 Stefan Hajnoczi
  2013-05-02 12:23 ` [Qemu-devel] [PATCH 1/2] nbd: use g_slice_new() instead of a freelist Stefan Hajnoczi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2013-05-02 12:23 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Paolo Bonzini, Stefan Hajnoczi, Nick Thomas

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

-- 
1.8.1.4

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

end of thread, other threads:[~2013-05-02 17:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-02 12:23 [Qemu-devel] [PATCH 0/2] nbd: support large NBD requests Stefan Hajnoczi
2013-05-02 12:23 ` [Qemu-devel] [PATCH 1/2] nbd: use g_slice_new() instead of a freelist Stefan Hajnoczi
2013-05-02 12:23 ` [Qemu-devel] [PATCH 2/2] nbd: support large NBD requests Stefan Hajnoczi
2013-05-02 17:22 ` [Qemu-devel] [PATCH 0/2] " Paolo Bonzini

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