Re: [PATCH] block: fix residual byte count handling

From: Jens Axboe
Date: Tue Mar 04 2008 - 13:57:41 EST


On Tue, Mar 04 2008, Mike Galbraith wrote:
>
> On Tue, 2008-03-04 at 19:45 +0100, Jens Axboe wrote:
>
> > > It says cc66b4512cae8df4ed1635483210aabf7690ec27... kewpie doll?
> >
> > That looks right, then perhaps there's still an issue there :/
> > Logs?
>
> Tejuns patchlet (below) fixed it here.

OK, can you try changing that to

good_bytes = scsi_bufflen(cmd) + cmd->request->extra_len;

and retest?

--
Jens Axboe

--
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/