linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SCSI dynamic power management
@ 2007-11-19 15:36 Alan Stern
  2007-11-19 15:46 ` Matthew Wilcox
  2007-11-20 14:38 ` Douglas Gilbert
  0 siblings, 2 replies; 21+ messages in thread
From: Alan Stern @ 2007-11-19 15:36 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: SCSI development list

Oliver (or anybody else):

Adding dynamic (AKA runtime) power management to the SCSI core is
looking a little difficult.  (Actually, since as far as I know the SCSI
specification takes no heed of power management, perhaps this should be
called "idle-device management".)

Imagine a SCSI disk has been idle long enough that we want to spin it
down.  When I/O requests do start to arrive later on, we want to delay
them in the request queue until the disk has a chance to spin back up.  
Or even to fail them, if the user has done a "manual" suspend.

These are conflicting requirements.  How can we send the START-STOP 
UNIT commands to spin the disk up/down through the request queue while 
delaying or failing all others?  What happens if one of the 
START-STOP UNIT commands encounters a problem and the error handler 
needs to send some commands of its own?

Any suggestions or ideas are welcome.

Alan Stern


^ permalink raw reply	[flat|nested] 21+ messages in thread
[parent not found: <4741AFEA.8000408@emulex.com>]

end of thread, other threads:[~2007-11-21 12:59 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-19 15:36 SCSI dynamic power management Alan Stern
2007-11-19 15:46 ` Matthew Wilcox
2007-11-19 15:57   ` Alan Stern
2007-11-19 16:14     ` Salyzyn, Mark
2007-11-19 16:46       ` Alan Stern
2007-11-19 16:53         ` James Bottomley
2007-11-19 19:16           ` Alan Stern
2007-11-19 19:18             ` Matthew Wilcox
2007-11-19 19:48               ` Alan Stern
2007-11-20 14:53             ` James Bottomley
2007-11-20 15:07               ` Oliver Neukum
2007-11-20 15:21                 ` James Bottomley
2007-11-20 15:36                   ` Oliver Neukum
2007-11-20 15:42                     ` James Bottomley
2007-11-20 16:02                       ` Alan Stern
2007-11-20 16:15                         ` James Bottomley
2007-11-20 19:03                           ` Alan Stern
2007-11-21 12:56     ` Jens Axboe
2007-11-20 14:38 ` Douglas Gilbert
2007-11-20 15:49   ` Alan Stern
     [not found] <4741AFEA.8000408@emulex.com>
2007-11-19 16:00 ` Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).