]> www.infradead.org Git - users/jedix/linux-maple.git/commit
target/user: Use iovec[] to describe continuous area
authorSheng Yang <sheng@yasker.org>
Fri, 26 Feb 2016 22:59:55 +0000 (14:59 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 23 Jun 2017 04:10:46 +0000 (21:10 -0700)
commit495c00f2c4069dfb64e4c55f59965634ed724d01
treebd3c77ee32b6a4295fdc150d03ad399b8b797f14
parent955acc3d0caf07915bc1b2f82a09b0cb5e769d4b
target/user: Use iovec[] to describe continuous area

We don't need use one iovec per scatter-gather list entry, since data
area are continuous.

Reviewed-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Sheng Yang <sheng@yasker.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Orabug: 25395066
(cherry picked from commit f1dbd087cc7a28c6c174cb28cf98c19f4efb1fba)
Signed-off-by: Kyle Fortin <kyle.fortin@oracle.com>
Reviewed-by: Shan Hai <shan.hai@oracle.com>
drivers/target/target_core_user.c