qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Stefan Hajnoczi <stefanha@redhat.com>,
	Nick Thomas <nick@bytemark.co.uk>
Subject: [Qemu-devel] [PATCH 0/2] nbd: support large NBD requests
Date: Thu,  2 May 2013 14:23:06 +0200	[thread overview]
Message-ID: <1367497388-5962-1-git-send-email-stefanha@redhat.com> (raw)

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

             reply	other threads:[~2013-05-02 12:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-02 12:23 Stefan Hajnoczi [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1367497388-5962-1-git-send-email-stefanha@redhat.com \
    --to=stefanha@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=nick@bytemark.co.uk \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).