linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hikaru1@verizon.net
To: axboe@suse.de, linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: ide-cd in 2.6.8-2.6.10 and 2.4.26-2.4.28 high cpu use with dma
Date: Sun, 9 Jan 2005 05:54:18 -0500	[thread overview]
Message-ID: <20050109105418.GD12497@roll> (raw)
In-Reply-To: <20050109105201.GB12497@roll>

[-- Attachment #1: Type: text/plain, Size: 69 bytes --]

Whoops! Forgot to include the patch.

Sorry.

Timothy Charles McGrath

[-- Attachment #2: ide-cdfix.pat --]
[-- Type: text/plain, Size: 578 bytes --]

diff -ur linux-2.6.10-orig/drivers/ide/ide-cd.c linux-2.6.10/drivers/ide/ide-cd.c
--- linux-2.6.10-orig/drivers/ide/ide-cd.c	2004-12-24 16:34:33.000000000 -0500
+++ linux-2.6.10/drivers/ide/ide-cd.c	2005-01-07 07:49:43.000000000 -0500
@@ -3151,7 +3151,7 @@
 	int nslots;
 
 	blk_queue_prep_rq(drive->queue, ide_cdrom_prep_fn);
-	blk_queue_dma_alignment(drive->queue, 31);
+	blk_queue_dma_alignment(drive->queue, 3);
 	drive->queue->unplug_delay = (1 * HZ) / 1000;
 	if (!drive->queue->unplug_delay)
 		drive->queue->unplug_delay = 1;
Only in linux-2.6.10/drivers/ide: ide-cd.c~

  reply	other threads:[~2005-01-09 10:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-09 10:52 PROBLEM: ide-cd in 2.6.8-2.6.10 and 2.4.26-2.4.28 high cpu use with dma Hikaru1
2005-01-09 10:54 ` Hikaru1 [this message]
2005-01-09 12:30   ` Hikaru1
2005-01-09 15:32     ` Jens Axboe
2005-01-09 20:47       ` Marcel Sebek
2005-01-10  9:10       ` Hikaru1
2005-01-11  8:25         ` Jens Axboe
2005-01-09 23:01     ` Alan Cox
2005-01-10  8:45       ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050109105418.GD12497@roll \
    --to=hikaru1@verizon.net \
    --cc=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).