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

From: Tejun Heo
Date: Tue Mar 04 2008 - 08:51:25 EST


FUJITA Tomonori wrote:
>> Aiee... device going down after timing out on READ_DISC_INFO. That's
>> gruesome. Can you please try the other patches?
>
> Tejun, I thought that libata needs a fix for sum(sg) != rq->data_len. No?

The extra_len you added to qc->nbytes should be it. The only other
place to pay attention is the ATAPI transfer chunk size and your patch
seems to get it right.

> Now Jens' git tree should work with all the non libata stuff, ide,
> firewire, bsg, etc. But I'm not sure about libata.

With the second patch, all others should be fine no matter what. I'll
go check libata part again.

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/