From: Jens Axboe <axboe@suse.de>
To: Paul Bristow <paul@paulbristow.net>
Cc: linux-kernel@vger.kernel.org, Taco IJsselmuiden <taco@wep.tudelft.nl>
Subject: Re: [OOPS] Oops with ide-floppy in 2.5.2 / 2.5.3
Date: Mon, 4 Feb 2002 09:15:09 +0100 [thread overview]
Message-ID: <20020204091509.Q29553@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.21.0202040023410.15910-100000@banaan.taco.dhs.org> <3C5E2C08.1080105@paulbristow.net>
In-Reply-To: <3C5E2C08.1080105@paulbristow.net>
On Mon, Feb 04 2002, Paul Bristow wrote:
> I'll take a look at it.
One hint is that this bug is triggered when you attempt to add a request
in from of one that has already been started. In case of ide,
ide_do_drive_cmd with ide_preempt would trigger this. That may or may
not be a bug, depends on if the driver knows what it is doing or not.
If the driver knows what it is doing, then this patch should cure your
problem.
--- drivers/ide/ide.c~ Mon Feb 4 09:12:10 2002
+++ drivers/ide/ide.c Mon Feb 4 09:14:39 2002
@@ -1784,6 +1784,8 @@
if (blk_queue_empty(&drive->queue) || action == ide_preempt) {
if (action == ide_preempt)
hwgroup->rq = NULL;
+ if (!blk_queue_empty(&drive->queue))
+ list_entry_rq(queue_head)->flags &= ~REQ_STARTED;
} else {
if (action == ide_wait || action == ide_end) {
queue_head = queue_head->prev;
--
Jens Axboe
next prev parent reply other threads:[~2002-02-04 8:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-03 23:56 [OOPS] Oops with ide-floppy in 2.5.2 / 2.5.3 Taco IJsselmuiden
2002-02-04 6:36 ` Paul Bristow
2002-02-04 8:15 ` Jens Axboe [this message]
2002-02-04 13:41 ` Taco IJsselmuiden
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=20020204091509.Q29553@suse.de \
--to=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=paul@paulbristow.net \
--cc=taco@wep.tudelft.nl \
/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.