diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2017-10-12 17:29:00 -0500 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2017-10-13 08:05:16 -0500 |
commit | de79bfc36f08e9ad29866506ba58e20ff1f4b162 (patch) | |
tree | 1603820cc5e27503bdb0c6c7d5a83cd0b69019d1 /include/block/nbd.h | |
parent | 978df1b6bf813a9fac3253073688f60bcc0a9733 (diff) | |
download | qemu-de79bfc36f08e9ad29866506ba58e20ff1f4b162.zip qemu-de79bfc36f08e9ad29866506ba58e20ff1f4b162.tar.gz qemu-de79bfc36f08e9ad29866506ba58e20ff1f4b162.tar.bz2 |
nbd/server: simplify reply transmission
Send qiov via qio_channel_writev_all instead of calling nbd_write twice
with a cork.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20171012095319.136610-8-vsementsov@virtuozzo.com>
[eblake: rebase to tweaks earlier in series]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/block/nbd.h')
0 files changed, 0 insertions, 0 deletions