Re: [PATCH] block: needs to set the residual length of a bidi request.

From: Tejun Heo
Date: Mon Jun 08 2009 - 22:59:57 EST


FUJITA Tomonori wrote:
> This is against for-2.6.31.
>
> This should fix the following problem:
>
> http://marc.info/?l=linux-scsi&m=124449210813269&w=2
>
> =
> From: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
> Subject: [PATCH] block: needs to set the residual length of a bidi request
>
> Tejun's "block: set rq->resid_len to blk_rq_bytes() on issue" patch
> seems to be incomplete; It doesn't set rq->resid_len to blk_rq_bytes()
> for a bidi request (req->next_rq). As a result, all bidi users are
> broken.
>
> Signed-off-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/