diff options
| author | Eric Blake <eblake@redhat.com> | 2017-11-06 21:09:12 -0600 |
|---|---|---|
| committer | Eric Blake <eblake@redhat.com> | 2018-01-08 09:12:23 -0600 |
| commit | e2de3256c373fe32c7a7d9ef2f2093c643bb6656 (patch) | |
| tree | 524aa4ff19872df73605600015ab6a597da2864b /scripts/qapi2texi.py | |
| parent | 418638d3e448e0ed79d55cc43a26f7a65c22007f (diff) | |
| download | focaccia-qemu-e2de3256c373fe32c7a7d9ef2f2093c643bb6656.tar.gz focaccia-qemu-e2de3256c373fe32c7a7d9ef2f2093c643bb6656.zip | |
nbd/server: Optimize final chunk of sparse read
If we are careful to handle 0-length read requests correctly, we can optimize our sparse read to send the NBD_REPLY_FLAG_DONE bit on our last OFFSET_DATA or OFFSET_HOLE chunk rather than needing a separate chunk. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <20171107030912.23930-3-eblake@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'scripts/qapi2texi.py')
0 files changed, 0 insertions, 0 deletions