commit | 4cc841b57c1dc91d71bafc25b53ffab4eff7959b | [log] [tgz] |
---|---|---|
author | Peter Lieven <pl@dlhnet.de> | Mon Nov 19 15:58:31 2012 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Jan 22 15:07:03 2013 +0100 |
tree | b70c91057c520fce8aba483f7b794706ff37a96b | |
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>