summaryrefslogtreecommitdiffstats
path: root/block/commit.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2019-07-25 12:05:50 +0200
committerEric Blake2019-08-15 20:22:13 +0200
commit7fa5c5657f11096101f5be18fe1f7395776be5a6 (patch)
tree3526092b0bcea6fe6897eb6699d61acb65b51fd5 /block/commit.c
parentblock/stream: use BDRV_REQ_PREFETCH (diff)
downloadqemu-7fa5c5657f11096101f5be18fe1f7395776be5a6.tar.gz
qemu-7fa5c5657f11096101f5be18fe1f7395776be5a6.tar.xz
qemu-7fa5c5657f11096101f5be18fe1f7395776be5a6.zip
nbd: improve CMD_CACHE: use BDRV_REQ_PREFETCH
This helps to avoid extra io, allocations and memory copying. We assume here that CMD_CACHE is always used with copy-on-read, as otherwise it's a noop. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20190725100550.33801-4-vsementsov@virtuozzo.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions