diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2019-07-25 13:05:50 +0300 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2019-08-15 13:22:13 -0500 |
commit | 7fa5c5657f11096101f5be18fe1f7395776be5a6 (patch) | |
tree | 3526092b0bcea6fe6897eb6699d61acb65b51fd5 /tests/qemu-iotests/112 | |
parent | 99136607b1edb0129d1ebb6ecac21738ad3d9c36 (diff) | |
download | qemu-7fa5c5657f11096101f5be18fe1f7395776be5a6.zip qemu-7fa5c5657f11096101f5be18fe1f7395776be5a6.tar.gz qemu-7fa5c5657f11096101f5be18fe1f7395776be5a6.tar.bz2 |
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 'tests/qemu-iotests/112')
0 files changed, 0 insertions, 0 deletions