Messages in this thread | | | Date | Tue, 04 Mar 2008 22:50:50 +0900 | From | Tejun Heo <> | Subject | Re: [PATCH] block: fix residual byte count handling |
| |
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
| |