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>
Fri, 11 Mar 2016 05:48:57 +0000 (21:48 -0800)
commitf1dbd087cc7a28c6c174cb28cf98c19f4efb1fba
treee483b2d67ddd8b02ae6f940666667ccde2880f3c
parent03a68b44faff1b3eef5424952044747c9c555f0e
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