diff options
author | Peter Lieven <pl@dlhnet.de> | 2012-11-19 15:58:31 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-01-22 15:07:03 +0100 |
commit | 4cc841b57c1dc91d71bafc25b53ffab4eff7959b (patch) | |
tree | b70c91057c520fce8aba483f7b794706ff37a96b /os-win32.c | |
parent | de8864e5ae645fc22aa4ecf1999705c2dd5cf93c (diff) |
iscsi: partly avoid iovec linearization in iscsi_aio_writev
libiscsi expects all write16 data in a linear buffer. If the
iovec only contains one buffer we can skip the linearization
step as well as the additional malloc/free and pass the
buffer directly.
Reported-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'os-win32.c')
0 files changed, 0 insertions, 0 deletions