summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2015-01-28 11:15:00 +0300
committerNicholas Bellinger <nab@linux-iscsi.org>2015-02-04 21:55:36 +0300
commite8de56b5e76ab7ed2a4aa3476649fe3fa85de1d7 (patch)
tree395e2c91c7cc0da292a6d484f005681d8f118127 /mm
parentb4078b5face3c1e79ef6e2dd254af04a470ed2bc (diff)
downloadlinux-e8de56b5e76ab7ed2a4aa3476649fe3fa85de1d7.tar.xz
vhost/scsi: Add ANY_LAYOUT iov -> sgl mapping prerequisites
This patch adds ANY_LAYOUT prerequisites logic for accepting a set of protection + data payloads via iov_iter. Also includes helpers for calcuating SGLs + invoking vhost_scsi_map_to_sgl() with a known number of iovecs. Required by ANY_LAYOUT processing when struct iovec may be offset into the first outgoing virtio-scsi request header. 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 'mm')
0 files changed, 0 insertions, 0 deletions