linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: "Stuart_Hayes@dell.com" <Stuart_Hayes@dell.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: ide-cd question
Date: Thu, 3 Feb 2005 22:03:39 +0100	[thread overview]
Message-ID: <58cb370e050203130352dbbc8b@mail.gmail.com> (raw)
In-Reply-To: <7A8F92187EF7A249BF847F1BF4903C04010EE861@ausx2kmpc103.aus.amer.dell.com>

On Thu, 3 Feb 2005 14:34:42 -0600, Stuart_Hayes@dell.com
<Stuart_Hayes@dell.com> wrote:
> 
> Why does ide-cd use "DRIVER(drive)->end_request()" instead of
> "cdrom_end_request()" in the function ide_cdrom_error when it wants to
> end a request that's exceeded ERROR_MAX errors?  (See code below.)

Please always give the kernel version you are referring to.
ide_cdrom_error() is gone in 2.6.11-rc2.

If there is a bug, it is in ide_cdrom_driver declaration.
.end_request is not set to ide_cdrom_error.

> With certain requests (GET_CONFIGURATION (0x46), in particular),
> DRIVER(drive)->end_request() is not actually ending the request, because
> rq->bio is not NULL--but it also is not clearing rq->errors, so this
> request ends up getting retried forever, but no more resets are
> attempted because rq->errors has exceeded ERROR_MAX.

I don't get this, maybe I'm looking at the wrong kernel version?

Bartlomiej

  reply	other threads:[~2005-02-03 21:03 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-03 20:34 ide-cd question Stuart_Hayes
2005-02-03 21:03 ` Bartlomiej Zolnierkiewicz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-02-04 16:21 Stuart_Hayes
2005-02-07 17:22 Stuart_Hayes
2005-02-10 21:41 Stuart_Hayes
2005-02-10 21:46 Stuart_Hayes
     [not found] <7A8F92187EF7A249BF847F1BF4903C04010EE8A6@ausx2kmpc103.aus.amer.dell.com>
2005-02-12 17:21 ` Stuart Hayes
2005-02-12 17:26 Stuart Hayes
2005-03-03 14:27 Stuart Hayes
2005-03-03 16:15 ` Jens Axboe
2005-03-03 17:34 Stuart_Hayes
2005-03-04  7:47 ` Jens Axboe
2005-03-04 22:37 Stuart_Hayes
2005-03-08 14:14 ` Jens Axboe
2005-03-17 16:17 Stuart_Hayes
2005-03-18 16:42 ` Bartlomiej Zolnierkiewicz
2005-03-24 23:01 Stuart_Hayes

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=58cb370e050203130352dbbc8b@mail.gmail.com \
    --to=bzolnier@gmail.com \
    --cc=Stuart_Hayes@dell.com \
    --cc=linux-ide@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).