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

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

 



On Fri, 2013-09-06 at 10:01 +0800, Aaron Lu wrote:
> Migrate SCSI Optical Disk Drive(ODD)

I'm not very keen on this description because it's not quite accurate.
sr stands for SCSI ROM.  You could say optical SCSI ROM perhaps, but
Magneto Optical disks are handled by sd not sr.

>  driver sr to make use of block

I'd just say "Migrate sr to make use of .."

> 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"?

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

James


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