public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: FabF <Fabian.Frederick@skynet.be>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>,
	lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2.6.6-rc3] as-io isolation ?
Date: Fri, 30 Apr 2004 14:18:03 +0200	[thread overview]
Message-ID: <20040430121801.GW2150@suse.de> (raw)
In-Reply-To: <1083253117.4624.3.camel@bluerhyme.real3>

On Thu, Apr 29 2004, FabF wrote:
> On Thu, 2004-04-29 at 02:39, Nick Piggin wrote:
> > FabF wrote:
> > > Hi,
> > > 
> > > 	Here's a patch _idea_ to isolate anticipatory I/O from normal I/O
> > > scheduler process by adding a specific put io context method so that
> > > ll_rw_blk stuff could be as-iosched transparent.I guess we could point
> > > as iosched exit instead of exit_io_context as well ...
> > 
> > Hi,
> > This makes ll_rw_blk.c aware of an AS specific function though.
> > as-iosched.c is actually a CONFIG option under CONFIG_EMBEDDED.
> > What is the actual problem?
> 
> AFAICS cfq and other elevators don't interact with ll_rw stuff (?)

Hmm? That looks like nonsense. AS/CFQ/deadline/etc all use the same
interface between the block layer and driver. AS is the only in-tree
user of io contexts, the implementation is open for other additions as
well though.

> but we could release something like the asio later so I was thinking
> about somekind of abstraction within ll_rw.This abstraction would
> require the patch ad hoc as well as a specific exit point.

I think you have to explain yourself a bit more clearly. The patch, as
posted, doesn't make much sense to me. It's making it a lot worse.

If you want to isolate the entire anticipation from AS to be used
generically, then you are going about it the wrong way. I'd suggest
thinking a lot harder about how anticipation interacts with the various
entry points into the io scheduler. And then see if you can isolate that
successfully, then apply it to eg CFQ, and then post something when you
are happy with how it panned out.

I don't think it's a bad idea at all, in fact I originally wanted it
implemented this way.

-- 
Jens Axboe


      reply	other threads:[~2004-04-30 12:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-28 20:24 [PATCH 2.6.6-rc3] as-io isolation ? FabF
2004-04-29  0:39 ` Nick Piggin
2004-04-29 15:38   ` FabF
2004-04-30 12:18     ` 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=20040430121801.GW2150@suse.de \
    --to=axboe@suse.de \
    --cc=Fabian.Frederick@skynet.be \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nickpiggin@yahoo.com.au \
    /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