From: Jens Axboe <axboe-l3A5Bk7waGM@public.gmane.org>
To: Jon Escombe <lists-Xbpc2PeERmvQXOPxS62xeg@public.gmane.org>
Cc: Alan Cox <alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org>,
Alejandro Bonilla Beeche
<abonilla-N/cRWR3FREN3ZuITGxAgx9i2O/JbrIOy@public.gmane.org>,
linux-kernel
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
hdaps devel
<hdaps-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Re: HDAPS, Need to park the head for real
Date: Fri, 26 Aug 2005 08:49:35 +0200 [thread overview]
Message-ID: <20050826064934.GP4018@suse.de> (raw)
In-Reply-To: <430E0A84.8080809-Xbpc2PeERmvQXOPxS62xeg@public.gmane.org>
On Thu, Aug 25 2005, Jon Escombe wrote:
> Alan Cox wrote:
> >@@ -1661,6 +1671,9 @@
> > where = ELEVATOR_INSERT_FRONT;
> > rq->flags |= REQ_PREEMPT;
> > }
> >+ if (action == ide_next)
> >+ where = ELEVATOR_INSERT_FRONT;
> >+
> > __elv_add_request(drive->queue, rq, where, 0);
> > ide_do_request(hwgroup, IDE_NO_IRQ);
> > spin_unlock_irqrestore(&ide_lock, flags);
> >
> >Also puzzles me- why is this needed ?
>
> I wanted the park command to get in at the head of the queue (behind the
> currently executing request).
>
> Contrary to the comments for ide_do_drive_cmd(), ide_next didn't appear
> to do anything to achieve this? At least from my initial testing before
> I made this change - it could take a second or so for the park command
> to be issued if the disk was busy....
That part seems to have been lost, apparently. The above patch is
correct.
--
Jens Axboe
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
WARNING: multiple messages have this Message-ID (diff)
From: Jens Axboe <axboe@suse.de>
To: Jon Escombe <lists@dresco.co.uk>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
Alejandro Bonilla Beeche <abonilla@linuxwireless.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
hdaps devel <hdaps-devel@lists.sourceforge.net>,
linux-ide@vger.kernel.org
Subject: Re: [Hdaps-devel] Re: HDAPS, Need to park the head for real
Date: Fri, 26 Aug 2005 08:49:35 +0200 [thread overview]
Message-ID: <20050826064934.GP4018@suse.de> (raw)
In-Reply-To: <430E0A84.8080809@dresco.co.uk>
On Thu, Aug 25 2005, Jon Escombe wrote:
> Alan Cox wrote:
> >@@ -1661,6 +1671,9 @@
> > where = ELEVATOR_INSERT_FRONT;
> > rq->flags |= REQ_PREEMPT;
> > }
> >+ if (action == ide_next)
> >+ where = ELEVATOR_INSERT_FRONT;
> >+
> > __elv_add_request(drive->queue, rq, where, 0);
> > ide_do_request(hwgroup, IDE_NO_IRQ);
> > spin_unlock_irqrestore(&ide_lock, flags);
> >
> >Also puzzles me- why is this needed ?
>
> I wanted the park command to get in at the head of the queue (behind the
> currently executing request).
>
> Contrary to the comments for ide_do_drive_cmd(), ide_next didn't appear
> to do anything to achieve this? At least from my initial testing before
> I made this change - it could take a second or so for the park command
> to be issued if the disk was busy....
That part seems to have been lost, apparently. The above patch is
correct.
--
Jens Axboe
next prev parent reply other threads:[~2005-08-26 6:49 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-16 15:25 HDAPS, Need to park the head for real Alejandro Bonilla Beeche
2005-08-16 15:34 ` Lee Revell
2005-08-16 15:41 ` Alejandro Bonilla Beeche
2005-08-16 20:07 ` Jens Axboe
2005-08-16 23:15 ` Alejandro Bonilla Beeche
2005-08-16 23:29 ` [Hdaps-devel] " Yani Ioannou
2005-08-17 5:53 ` Jens Axboe
2005-08-17 6:23 ` [Hdaps-devel] " Jon Escombe
2005-08-17 7:47 ` Avi Kivity
2005-08-17 7:56 ` Jens Axboe
2005-08-18 20:49 ` Pavel Machek
2005-08-18 21:15 ` Adam Goode
2005-08-18 21:30 ` [Hdaps-devel] " Dave Hansen
2005-08-18 21:38 ` Pavel Machek
2005-08-19 6:36 ` Jens Axboe
2005-08-19 10:05 ` [Hdaps-devel] " Jon Escombe
2005-08-19 10:23 ` Jens Axboe
2005-08-19 12:41 ` Alejandro Bonilla
[not found] ` <20050816200708.GE3425-l3A5Bk7waGM@public.gmane.org>
2005-08-24 21:44 ` Jon Escombe
2005-08-24 21:44 ` [Hdaps-devel] " Jon Escombe
2005-08-25 10:57 ` Alan Cox
2005-08-25 18:14 ` Jon Escombe
[not found] ` <430E0A84.8080809-Xbpc2PeERmvQXOPxS62xeg@public.gmane.org>
2005-08-26 6:49 ` Jens Axboe [this message]
2005-08-26 6:49 ` 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=20050826064934.GP4018@suse.de \
--to=axboe-l3a5bk7wagm@public.gmane.org \
--cc=abonilla-N/cRWR3FREN3ZuITGxAgx9i2O/JbrIOy@public.gmane.org \
--cc=alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org \
--cc=hdaps-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=lists-Xbpc2PeERmvQXOPxS62xeg@public.gmane.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.