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

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. Shall

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

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

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

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

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=1=2 >> And then Alan has given a detailed implementation guide: >>

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=1=2 > And then Alan has given a detailed implementation guide: > http://marc.info/?l=linux-scsi=133727953625963=2 > > To test: > # ls -l

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=12825910841r=1w=2 And then Alan has given a detailed implementation guide: http://marc.info/?l=linux-scsim=133727953625963w=2 To test: # ls -l

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=12825910841r=1w=2 And then Alan has given a detailed implementation guide:

[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=1=2 And then Alan has given a detailed implementation guide: http://marc.info/?l=linux-scsi=133727953625963=2 To test: # ls -l /sys/block/sda

[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=12825910841r=1w=2 And then Alan has given a detailed implementation guide: http://marc.info/?l=linux-scsim=133727953625963w=2 To test: # ls -l /sys/block/sda