Messages in this thread Patch in this message | | | Date | Sun, 9 Jan 2005 16:32:16 +0100 | From | Jens Axboe <> | Subject | Re: PROBLEM: ide-cd in 2.6.8-2.6.10 and 2.4.26-2.4.28 high cpu use with dma |
| |
On Sun, Jan 09 2005, Hikaru1@verizon.net wrote: > A minor mistake. I forgot to state explicitly that the problem only appears > with writing audio cds. Writing data cds does not cause problems.
The change isn't safe, it was made for a reason since some drives timeout if the alignment/length isn't correct. It probably is a little pessimistic right now, can you see if this just works for you?
===== drivers/ide/ide-cd.c 1.105 vs edited ===== --- 1.105/drivers/ide/ide-cd.c 2005-01-08 06:43:53 +01:00 +++ edited/drivers/ide/ide-cd.c 2005-01-09 16:31:53 +01:00 @@ -1915,7 +1915,7 @@ /* * check if dma is safe */ - if ((rq->data_len & mask) || (addr & mask)) + if ((rq->data_len & 3) || (addr & mask)) info->dma = 0; } -- Jens Axboe
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |