public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@SteelEye.com>
To: Jens Axboe <axboe@suse.de>
Cc: Jon Escombe <trial@dresco.co.uk>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	Jeff Garzik <jgarzik@pobox.com>
Subject: Re: Suspend/Resume
Date: Sun, 08 May 2005 12:08:22 -0500	[thread overview]
Message-ID: <1115572102.18977.8.camel@mulgrave> (raw)
In-Reply-To: <A01CAA87-63E8-46D9-BB64-54C33DB773D4@suse.de>

On Sun, 2005-05-08 at 18:21 +0200, Jens Axboe wrote:
> On May 8, 2005, at 5:53 AM, James Bottomley wrote:
> > The patch looks fine as far as it goes ... however, shouldn't we be
> > spinning *internal* suspended drives down as well like IDE does  
> > (i.e. at
> > least the sd ULD needs to be a party to the suspend)?  Of course  
> > this is
> > a complete can of worms since we really have no idea which busses are
> > internal and which are external, although it might be something that
> > userland can determine.
> 
> I'm not sure I know what you mean by 'internal suspended drives' that  
> aren't spun down? For every device known on the sata "bus", we do the  
> standby routine.

I mean that at the moment, the suspend code doesn't seem to spin down
any SCSI drives.  However, if it did we'd need to distinguish between
drives that uniquely belong to us (i.e. drives that are internal to the
system) and drives that are external on a shared bus for which we'd
annoy other systems if we spun them down.

> There is room for improvement for software suspend, notably it is  
> extremely annoying that we cannot tell the difference between  
> 'freeze' and 'suspend' currently, this adds overhead for suspend-to- 
> disk both in time spent and actual drive wear due to an excessive  
> spin down+up cycle.
> 
> > P.S.  I noticed the gratuitous coding style corrections ...
> 
> Heh woops, I usually don't sneak those in with other changes. I think  
> this one got in because I actually had another change there that I  
> later reverted.

;-)

James



  reply	other threads:[~2005-05-08 17:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-21 14:16 Suspend/Resume Davy Durham
2005-05-02 14:23 ` Suspend/Resume Jon Escombe
2005-05-02 14:47   ` Suspend/Resume Jens Axboe
2005-05-02 20:13     ` Suspend/Resume Jon Escombe
2005-05-03 14:10       ` Suspend/Resume Jens Axboe
2005-05-08  3:53         ` Suspend/Resume James Bottomley
2005-05-08 16:21           ` Suspend/Resume Jens Axboe
2005-05-08 17:08             ` James Bottomley [this message]
2005-05-09 10:13           ` Suspend/Resume Pavel Machek
2005-05-09 14:07             ` Suspend/Resume James Bottomley
2005-05-09 19:17               ` Suspend/Resume Pavel Machek

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=1115572102.18977.8.camel@mulgrave \
    --to=james.bottomley@steeleye.com \
    --cc=axboe@suse.de \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trial@dresco.co.uk \
    /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