diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-01-27 22:13:12 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-02-04 19:55:35 +0100 |
commit | 79c14141a487211d1bb7840d3f607766f6115dd2 (patch) | |
tree | 97c32dff53ab137612047ccd5991530f959eb44e /block/blk-softirq.c | |
parent | iser-target: Fix wrong allocation in the case of an empty text message (diff) | |
download | linux-79c14141a487211d1bb7840d3f607766f6115dd2.tar.xz linux-79c14141a487211d1bb7840d3f607766f6115dd2.zip |
vhost/scsi: Convert completion path to use copy_to_iter
Required for ANY_LAYOUT support when the incoming virtio-scsi response
header + fixed size sense buffer payload may span more than a single
iovec entry.
This changes existing code to save cmd->tvc_resp_iov instead of the
first single iovec base pointer from &vq->iov[out].
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions