From: Oliver Neukum <oliver@neukum.org>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: SCSI development list <linux-scsi@vger.kernel.org>,
Linux-pm mailing list <linux-pm@lists.linux-foundation.org>
Subject: Re: [RFC] Implementation of SCSI dynamic power management
Date: Tue, 8 Jan 2008 15:12:55 +0100 [thread overview]
Message-ID: <200801081512.55746.oliver@neukum.org> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0801071244180.2748-100000@iolanthe.rowland.org>
Am Montag, 7. Januar 2008 20:42:23 schrieb Alan Stern:
> /**
> + * autoresume - perform dynamic (runtime) host resume
> + * @shp: host to resume
> + *
> + * Resume (return to an operational power level) the specified host.
> + * Return 0 if the resume was successful, otherwise a negative
> + * error code.
> + *
> + * Locks: struct Scsi_Host::pm_mutex held throughout the call.
> + *
> + * Calling context: process
> + *
> + * Notes: If the host is not currently suspended, this method does
> + * need to do anything.
> + *
> + * Optionally defined in: LLD
> + **/
> + int autoresume(struct Scsi_Host *shp)
> +
This seems to be a bit misleading. It seems to me that you must cancel
any outstanding request to autosuspend from other layers.
Regards
Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-01-08 14:12 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-07 19:42 [RFC] Implementation of SCSI dynamic power management Alan Stern
2008-01-07 20:31 ` Oliver Neukum
2008-01-07 21:34 ` Alan Stern
2008-01-07 22:06 ` Oliver Neukum
2008-01-08 3:56 ` Alan Stern
2008-01-08 13:42 ` Oliver Neukum
2008-01-08 15:06 ` Alan Stern
2008-01-08 15:10 ` Oliver Neukum
2008-01-08 21:24 ` [linux-pm] " Pavel Machek
2008-01-09 15:25 ` Alan Stern
2008-01-08 14:12 ` Oliver Neukum [this message]
2008-01-08 15:12 ` Alan Stern
2008-01-08 15:18 ` Oliver Neukum
2008-01-08 18:06 ` Stefan Richter
2008-01-08 18:51 ` Alan Stern
2008-01-08 15:00 ` Oliver Neukum
2008-01-08 15:16 ` Alan Stern
2008-01-08 15:30 ` Oliver Neukum
2008-01-09 16:11 ` Oliver Neukum
2008-01-09 17:22 ` Alan Stern
2008-01-09 17:31 ` Oliver Neukum
2008-01-09 20:36 ` Alan Stern
2008-01-10 9:26 ` Oliver Neukum
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=200801081512.55746.oliver@neukum.org \
--to=oliver@neukum.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=linux-scsi@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
/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