diff options
author | Roger Pau Monne | 2013-06-22 09:59:17 +0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk | 2013-06-25 16:00:58 +0200 |
commit | 1e0f7a21b2fffc70f27cc4a454c60321501045b1 (patch) | |
tree | 0a6eb8b048e694cc4ffb69af6f94f2bd5e8105cd /Documentation | |
parent | xen-blkfront: set blk_queue_max_hw_sectors correctly (diff) | |
download | kernel-qcow2-linux-1e0f7a21b2fffc70f27cc4a454c60321501045b1.tar.gz kernel-qcow2-linux-1e0f7a21b2fffc70f27cc4a454c60321501045b1.tar.xz kernel-qcow2-linux-1e0f7a21b2fffc70f27cc4a454c60321501045b1.zip |
xen-blkback: check the number of iovecs before allocating a bios
With the introduction of indirect segments we can receive requests
with a number of segments bigger than the maximum number of allowed
iovecs in a bios, so make sure that blkback doesn't try to allocate a
bios with more iovecs than BIO_MAX_PAGES
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions