From: Tejun Heo <htejun@gmail.com>
To: Jens Axboe <axboe@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH linux-2.6-block:master 02/05] blk: update ioscheds to use generic dispatch queue
Date: Fri, 21 Oct 2005 02:31:51 +0900 [thread overview]
Message-ID: <4357D487.8000801@gmail.com> (raw)
In-Reply-To: <20051020170705.GU2811@suse.de>
Jens Axboe wrote:
> On Fri, Oct 21 2005, Tejun Heo wrote:
>
>> I think we're currently talking about two issues.
>
>
> I think so too :)
>
>
>> 1. Is @sort=0 case useful?
>>
>> Currently all ioscheds dispatch requests in sorted order. I was
>>afraid that sorting again might result in less efficient seek pattern
>>although I'm not quite sure whether or how that will happen. That's why
>>I added the @sort argument to elv_dispatch_insert(). If sorting cannot
>>hurt in any case, we might sort unconditionally and remove @sort
>>argument from elv_dispatch_insert().
>
>
> That's what I ended up merging, elv_dispatch_sort() and it only takes q
> and rq as parameters.
>
>
>> 2. Why @force is used to turn on @sort?
>
>
> Yes, that was my question :-)
>
>
>> The reasoning was that, when a iosched is forced dispatched, it
>>doesn't have control over many aspects of IO scheduling, so it cannot
>>produce good ordering of dumped requests, which actually is true for
>>cfq. That's why @sort is turned on while force-dispatching requests.
>
>
> Well that's not quite my question, it is the opposite - why would you
> not want to sort?
>
>
>> Maybe just removing @sort argument from elv_dispatch_insert() and
>>sorting always is the way to go?
>
>
> See the merged stuff, I think so. I just don't see any reason at all to
> tie 'force' and 'sort' together.
>
Yeap, merged version looks fine.
--
tejun
next prev parent reply other threads:[~2005-10-20 17:31 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-19 12:35 [PATCH linux-2.6-block:master 00/05] blk: generic dispatch queue Tejun Heo
2005-10-19 12:35 ` [PATCH linux-2.6-block:master 01/05] blk: implement " Tejun Heo
2005-10-20 10:00 ` Jens Axboe
2005-10-20 13:45 ` Tejun Heo
2005-10-20 14:04 ` Jens Axboe
2005-10-20 14:19 ` Tejun Heo
2005-10-19 12:35 ` [PATCH linux-2.6-block:master 02/05] blk: update ioscheds to use " Tejun Heo
2005-10-20 11:21 ` Jens Axboe
2005-10-20 13:51 ` Tejun Heo
2005-10-20 14:11 ` Jens Axboe
2005-10-20 14:35 ` Tejun Heo
2005-10-20 14:41 ` Jens Axboe
2005-10-20 15:00 ` Tejun Heo
2005-10-20 17:07 ` Jens Axboe
2005-10-20 17:31 ` Tejun Heo [this message]
2005-11-17 13:34 ` [PATCH linux-2.6-14-mm2] block: problem unloading I/O-Scheduler Module Dirk Henning Gerdes
2005-11-17 13:46 ` Jens Axboe
2005-10-19 12:35 ` [PATCH linux-2.6-block:master 03/05] blk: move last_merge handling into generic elevator code Tejun Heo
2005-10-20 11:26 ` Jens Axboe
2005-10-19 12:35 ` [PATCH linux-2.6-block:master 04/05] blk: remove last_merge handling from ioscheds Tejun Heo
2005-10-20 11:26 ` Jens Axboe
2005-10-19 12:35 ` [PATCH linux-2.6-block:master 05/05] blk: update biodoc Tejun Heo
2005-10-20 11:27 ` Jens Axboe
-- strict thread matches above, loose matches on Subject: below --
2005-07-26 13:56 [PATCH linux-2.6-block:master 00/05] blk: generic dispatch queue Tejun Heo
2005-07-26 13:56 ` [PATCH linux-2.6-block:master 02/05] blk: update ioscheds to use " Tejun Heo
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=4357D487.8000801@gmail.com \
--to=htejun@gmail.com \
--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