From 3e39789b64b01444b6377a043894e6b9a3ba6cbb Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Wed, 20 Jan 2010 10:12:23 -0600 Subject: [PATCH] Revert "block: prevent multiwrite_merge from creating too large iovecs" This reverts commit 0076bc0c1d93adcbc7f1af184e04902cf37e9ab8. Kevin Wolf pointed out that this breaks the mingw32 build. Signed-off-by: Anthony Liguori --- block.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/block.c b/block.c index cde41295bd..73c26ec410 100644 --- a/block.c +++ b/block.c @@ -1689,10 +1689,6 @@ static int multiwrite_merge(BlockDriverState *bs, BlockRequest *reqs, merge = bs->drv->bdrv_merge_requests(bs, &reqs[outidx], &reqs[i]); } - if (reqs[outidx].qiov->niov + reqs[i].qiov->niov + 1 > IOV_MAX) { - merge = 0; - } - if (merge) { size_t size; QEMUIOVector *qiov = qemu_mallocz(sizeof(*qiov)); -- 2.11.4.GIT