All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Stern <stern@rowland.harvard.edu>
To: Jens Axboe <axboe@kernel.dk>
Cc: Kernel development list <linux-kernel@vger.kernel.org>
Subject: Re: Runtime PM and the block layer
Date: Tue, 24 Aug 2010 17:09:03 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.44L0.1008241708050.1652-100000@iolanthe.rowland.org> (raw)
In-Reply-To: <4C74273B.4000308@kernel.dk>

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


  reply	other threads:[~2010-08-24 21:09 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-23 19:17 Runtime PM and the block layer Alan Stern
2010-08-23 19:53 ` Jens Axboe
2010-08-23 21:51   ` Alan Stern
2010-08-24 13:15     ` Runtime power management during system resume Raj Kumar
2010-08-24 14:30       ` Alan Stern
2010-08-24 15:17         ` Raj Kumar
2010-08-24 17:50           ` Alan Stern
2010-08-25 13:27           ` Raj Kumar
2010-08-25 14:51             ` Alan Stern
2010-08-26 13:40             ` Raj Kumar
2010-08-26 14:33               ` Alan Stern
2010-09-18 11:49               ` (no subject) Raj Kumar
2010-09-18 15:36                 ` your mail Alan Stern
2010-09-18 15:56                   ` Dominik Brodowski
2010-10-05 21:40                 ` Question about hibernation Raj Kumar
2010-10-05 22:43                   ` Rafael J. Wysocki
2010-08-24 13:38     ` Runtime PM and the block layer Jens Axboe
2010-08-24 14:42       ` Alan Stern
2010-08-24 17:09         ` Jens Axboe
2010-08-24 20:06           ` Alan Stern
2010-08-24 20:10             ` Jens Axboe
2010-08-24 21:09               ` Alan Stern [this message]
2010-09-27 15:22           ` Alan Stern
2010-08-30 16:32       ` Alan Stern

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=Pine.LNX.4.44L0.1008241708050.1652-100000@iolanthe.rowland.org \
    --to=stern@rowland.harvard.edu \
    --cc=axboe@kernel.dk \
    --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 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.