Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1614840

Re: [PATCH] tcmu: Skip Data-Out blocks before gathering Data-In buffer for BIDI case

From "Nicholas A. Bellinger" <nab@linux-iscsi.org>
Newsgroups linux.kernel
Subject Re: [PATCH] tcmu: Skip Data-Out blocks before gathering Data-In buffer for BIDI case
Date 2017-04-03 01:30 +0200
Message-ID <trX6x-7gB-1@gated-at.bofh.it> (permalink)
References <tqUDM-6Xi-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 2017-03-31 at 10:35 +0800, lixiubo@cmss.chinamobile.com wrote:
> From: Xiubo Li <lixiubo@cmss.chinamobile.com>
> 
> For the bidirectional case, the Data-Out buffer blocks will always at
> the head of the tcmu_cmd's bitmap, and before gathering the Data-In
> buffer, first of all it should skip the Data-Out ones, or the device
> supporting BIDI commands won't work.
> 
> Fixed: 26418649eead ("target/user: Introduce data_bitmap, replace
> 		data_length/data_head/data_tail")
> Reported-by: Ilias Tsitsimpis <iliastsi@arrikto.com>
> Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
> ---
>  drivers/target/target_core_user.c | 48 +++++++++++++++++++++++++++------------
>  1 file changed, 33 insertions(+), 15 deletions(-)

Applied to target-pending/master, with a CC' to linux-4.6.y stable.

Thanks Xiubo + Ilias.

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] tcmu: Skip Data-Out blocks before gathering Data-In buffer for BIDI case lixiubo@cmss.chinamobile.com - 2017-03-31 04:40 +0200
  Re: [PATCH] tcmu: Skip Data-Out blocks before gathering Data-In  buffer for BIDI case Ilias Tsitsimpis <iliastsi@arrikto.com> - 2017-03-31 23:00 +0200
  Re: [PATCH] tcmu: Skip Data-Out blocks before gathering Data-In  buffer for BIDI case "Nicholas A. Bellinger" <nab@linux-iscsi.org> - 2017-04-03 01:30 +0200

csiph-web