qemu/include/block
Stefan Hajnoczi 2d82148859 nbd: support large NBD requests
The Linux nbd driver recently increased the maximum supported request
size up to 32 MB:

  commit 078be02b80359a541928c899c2631f39628f56df
  Author: Michal Belczyk <belczyk@bsd.krakow.pl>
  Date:   Tue Apr 30 15:28:28 2013 -0700

      nbd: increase default and max request sizes

      Raise the default max request size for nbd to 128KB (from 127KB) to get it
      4KB aligned.  This patch also allows the max request size to be increased
      (via /sys/block/nbd<x>/queue/max_sectors_kb) to 32MB.

QEMU's 1 MB buffers are too small to handle these requests.

This patch allocates data buffers dynamically and allows up to 32 MB per
request.

Reported-by: Nick Thomas <nick@bytemark.co.uk>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-05-03 13:05:49 +02:00
..
aio.h aio: add a ThreadPool instance to AioContext 2013-03-15 16:07:50 +01:00
block_int.h block: Remove filename parameter from .bdrv_file_open() 2013-04-22 11:34:35 +02:00
block.h block: Add driver-specific options for backing files 2013-04-22 10:27:59 +02:00
blockjob.h
coroutine_int.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
coroutine.h coroutine: use AioContext for CoQueue BH 2013-03-15 16:07:51 +01:00
nbd.h nbd: support large NBD requests 2013-05-03 13:05:49 +02:00
scsi.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
thread-pool.h threadpool: drop global thread pool 2013-03-15 16:07:51 +01:00