summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorEric Blake2019-08-23 16:37:24 +0200
committerEric Blake2019-09-05 23:03:26 +0200
commitf061656cc355161f9984237298c45762ce5187d3 (patch)
tree7d240be86555e9b9cb558af1e7442febed69a424 /scripts/switch-timer-api
parentnbd: Prepare for NBD_CMD_FLAG_FAST_ZERO (diff)
downloadqemu-f061656cc355161f9984237298c45762ce5187d3.tar.gz
qemu-f061656cc355161f9984237298c45762ce5187d3.tar.xz
qemu-f061656cc355161f9984237298c45762ce5187d3.zip
nbd: Implement client use of NBD FAST_ZERO
The client side is fairly straightforward: if the server advertised fast zero support, then we can map that to BDRV_REQ_NO_FALLBACK support. A server that advertises FAST_ZERO but not WRITE_ZEROES is technically broken, but we can ignore that situation as it does not change our behavior. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <20190823143726.27062-4-eblake@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions