]> git.karo-electronics.de Git - karo-tx-linux.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)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 5 Mar 2016 07:36:04 +0000 (23:36 -0800)
commitba6b96e218ebf709b8b365ac8a3946bf02308259
tree9f541d5904f5a597f23c0468ef849464cfcc66c9
parent0a95b2911d03ead8a1e501cbfb60488ccc048b53
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>
drivers/target/target_core_user.c