Re: [PATCH v7 4/4] sd: change to auto suspend mode

2013-01-28 Thread Alan Stern
On Mon, 28 Jan 2013, Aaron Lu wrote: > > Someone just asked about the default autosuspend delay, and I realized > > your patch series doesn't set one. Since we don't know the properties > > of the disk drive at this point (or even whether the device is a disk > > drive), the only safe course is t

Re: [PATCH v7 4/4] sd: change to auto suspend mode

2013-01-28 Thread Aaron Lu
On Fri, Jan 18, 2013 at 04:25:10PM -0500, Alan Stern wrote: > On Wed, 16 Jan 2013, Aaron Lu wrote: > > > From: Lin Ming > > > > Uses block layer runtime pm helper functions in > > scsi_runtime_suspend/resume. > > Remove scsi_autopm_* from sd open/release path and check_events path. > > And remov

Re: [PATCH v7 4/4] sd: change to auto suspend mode

2013-01-21 Thread Aaron Lu
On 01/19/2013 05:25 AM, Alan Stern wrote: On Wed, 16 Jan 2013, Aaron Lu wrote: From: Lin Ming Uses block layer runtime pm helper functions in scsi_runtime_suspend/resume. Remove scsi_autopm_* from sd open/release path and check_events path. And remove the quiesce call in runtime suspend path,

Re: [PATCH v7 4/4] sd: change to auto suspend mode

2013-01-18 Thread Alan Stern
On Wed, 16 Jan 2013, Aaron Lu wrote: > From: Lin Ming > > Uses block layer runtime pm helper functions in > scsi_runtime_suspend/resume. > Remove scsi_autopm_* from sd open/release path and check_events path. > And remove the quiesce call in runtime suspend path, as we know there is > no request