All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Hikaru1@verizon.net,
	Linux Kernel Mailing List <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: Mon, 10 Jan 2005 09:45:06 +0100	[thread overview]
Message-ID: <20050110084501.GA31651@suse.de> (raw)
In-Reply-To: <1105278277.12004.32.camel@localhost.localdomain>

On Sun, Jan 09 2005, Alan Cox wrote:
> On Sul, 2005-01-09 at 12:30, 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.
> 
> It sets the required alignment of buffers for DMA. The 2.6.10 code is
> correct, the question is who is feeding unaligned buffers to the driver
> layer - the kernel or the SG layer. Which burning interface are you
> using  - /dev/sg  (ie dev=1,0,0) or /dev/hd*  (dev=/dev/hdc etc)

Look at the check, it's also doing length check. And for cdda burning,
you are never going to have 32-byte alignment, hence it false back to
pio.

-- 
Jens Axboe


      reply	other threads:[~2005-01-10  8:45 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
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 [this message]

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=20050110084501.GA31651@suse.de \
    --to=axboe@suse.de \
    --cc=Hikaru1@verizon.net \
    --cc=alan@lxorguk.ukuu.org.uk \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.