[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <472868B7.6010702@gelato.unsw.edu.au>
Date: Wed, 31 Oct 2007 22:36:23 +1100
From: Aaron Carroll <aaronc@...ato.unsw.edu.au>
To: Philipp Gruber <philipp.gruber@...pps.net>
CC: linux-kernel@...r.kernel.org
Subject: Re: Need information on elevator_dispatch_fn
Philipp Gruber wrote:
> So I need to 'reactivate' the whole dispatching process again. The only
> way to to this is probably a timer, but I couldn't get this working
> since I don't understand what calls dispatch_fn.
Hi Philipp,
Take a look how the AS and CFQ schedulers implement this. In fact, the
CFQ scheduler implements policy similar to what you described.
as_work_handler() in block/as-iosched.c might be a good starting point.
-- Aaron
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists