Re: [PATCH v6 0/4] block layer runtime pm

2013-01-14 Thread Alan Stern
On Mon, 14 Jan 2013, Aaron Lu wrote: > On Tue, Jan 08, 2013 at 10:27:54AM -0500, Alan Stern wrote: > > On Tue, 8 Jan 2013, Aaron Lu wrote: > > > > > So this also reminds me that as long as CONFIG_PM_RUNTIME is selected, > > > the blk_pm_add/put/peek_request functions will be in the block IO path.

Re: [PATCH v6 0/4] block layer runtime pm

2013-01-13 Thread Aaron Lu
On Tue, Jan 08, 2013 at 10:27:54AM -0500, Alan Stern wrote: > On Tue, 8 Jan 2013, Aaron Lu wrote: > > > So this also reminds me that as long as CONFIG_PM_RUNTIME is selected, > > the blk_pm_add/put/peek_request functions will be in the block IO path. > > Shall we introduce a new config option to s

Re: [PATCH v6 0/4] block layer runtime pm

2013-01-08 Thread Alan Stern
On Tue, 8 Jan 2013, Aaron Lu wrote: > So this also reminds me that as long as CONFIG_PM_RUNTIME is selected, > the blk_pm_add/put/peek_request functions will be in the block IO path. > Shall we introduce a new config option to selectively build block > runtime PM functionality? something like CONF

Re: [PATCH v6 0/4] block layer runtime pm

2013-01-07 Thread Aaron Lu
On 01/08/2013 01:11 AM, Alan Stern wrote: > On Sun, 6 Jan 2013, Aaron Lu wrote: > >> In August 2010, Jens and Alan discussed about "Runtime PM and the block >> layer". http://marc.info/?t=12825910841&r=1&w=2 >> And then Alan has given a detailed implementation guide: >> http://marc.info/?l=lin

Re: [PATCH v6 0/4] block layer runtime pm

2013-01-07 Thread Alan Stern
On Sun, 6 Jan 2013, Aaron Lu wrote: > In August 2010, Jens and Alan discussed about "Runtime PM and the block > layer". http://marc.info/?t=12825910841&r=1&w=2 > And then Alan has given a detailed implementation guide: > http://marc.info/?l=linux-scsi&m=133727953625963&w=2 > > To test: > # ls

[PATCH v6 0/4] block layer runtime pm

2013-01-06 Thread Aaron Lu
In August 2010, Jens and Alan discussed about "Runtime PM and the block layer". http://marc.info/?t=12825910841&r=1&w=2 And then Alan has given a detailed implementation guide: http://marc.info/?l=linux-scsi&m=133727953625963&w=2 To test: # ls -l /sys/block/sda /sys/devices/pci:00/:00: