Re: [PATCH v2] scsi: sr: use block layer runtime PM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 6 Sep 2013, James Bottomley wrote:

> > layer runtime PM. Accordingly, the SCSI bus layer runtime PM callback is
> > simplified as all SCSI devices that implement runtime PM are now request
> > based.
> 
> OK, let's now try for a descriptive changelog.  All SCSI devices
> (including sr) are "request based".  I think what you mean is "all SCSI
> devices which implement runtime PM have an exposed block device"?

Actually Aaron means "All SCSI drivers implementing runtime PM now use
the block layer's request-based mechanism."

> > Note that due to ODD will be polled every 2 seconds,
> 
> Since the device will be polled every 2 seconds
> 
> >  for suspend to
> > actually happen, the autosuspend_delay can not be set to more than 2
> > seconds or the polling interval has to be increased.
> 
> Is this true?  What about event driven devices?  Supposing a distro has
> a different interval.
> 
> How about
> 
> If your Distribution polls the device, the autosuspend interval cannot
> be set to longer than the polling interval otherwise the device will
> never suspend.

The default polling done by the kernel uses 2-second intervals.  Of 
course, distributions and users can change this or disable it entirely.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux