From: Paolo Bonzini <pbonzini@redhat.com>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>,
qemu-devel@nongnu.org, Nick Thomas <nick@bytemark.co.uk>
Subject: Re: [Qemu-devel] [PATCH 0/2] nbd: support large NBD requests
Date: Thu, 02 May 2013 19:22:38 +0200 [thread overview]
Message-ID: <5182A0DE.5030709@redhat.com> (raw)
In-Reply-To: <1367497388-5962-1-git-send-email-stefanha@redhat.com>
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 <pbonzini@redhat.com>
Paolo
prev parent reply other threads:[~2013-05-02 17:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Paolo Bonzini [this message]
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=5182A0DE.5030709@redhat.com \
--to=pbonzini@redhat.com \
--cc=kwolf@redhat.com \
--cc=nick@bytemark.co.uk \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.