Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755588AbYHMQX5 (ORCPT ); Wed, 13 Aug 2008 12:23:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752262AbYHMQXt (ORCPT ); Wed, 13 Aug 2008 12:23:49 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:60759 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752178AbYHMQXt (ORCPT ); Wed, 13 Aug 2008 12:23:49 -0400 Date: Wed, 13 Aug 2008 12:23:48 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Stefan Richter cc: Oliver Neukum , Pavel Machek , kernel list , Linux-pm mailing list , , Subject: Re: Power management for SCSI In-Reply-To: <48A30864.2030106@s5r6.in-berlin.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1162 Lines: 28 On Wed, 13 Aug 2008, Stefan Richter wrote: > > For transports which are like USB, we should do autosuspend at the > > target (not device) level. This means invoking the suspend/resume > > routines of the ULDs like sd and sr. The transport gets notified when > > all of the targets are suspended. (Or maybe the host driver gets > > notified instead; there probably isn't any advantage to using the > > transport class here.) > > > > For other transports, we should only do idle-timeout detection. The > > transport gets notified when any target has been idle for sufficiently > > long, so that it can power down the link. The ULDs are not involved. > > > > Does that sound okay? > > Minor correction: The ULD suspend/resume methods necessarily work on > logical units, not targets. Yes; I should said that the suspend/resume methods of the ULD for each of the target's LUNs gets invoked. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/