[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1008241708050.1652-100000@iolanthe.rowland.org>
Date: Tue, 24 Aug 2010 17:09:03 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Jens Axboe <axboe@...nel.dk>
cc: Kernel development list <linux-kernel@...r.kernel.org>
Subject: Re: Runtime PM and the block layer
On Tue, 24 Aug 2010, Jens Axboe wrote:
> > I see. You're suggesting we add a new "power_mode" or "queue_idle"
> > callback to the request_queue struct, and make the block layer invoke
> > this callback whenever a request completes and there are no other
> > requests pending or in flight. Right? And similarly, invoke the
> > callback (with a different argument) when the first request gets added
> > to an otherwise empty queue.
> >
> > That would suit my needs.
>
> Yep, that is what I'm suggesting.
All right, I'll work on this and get back to you when I need more help.
Thanks for the advice.
Alan Stern
--
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