On Monday 23 July 2012 11:08:47 Sarah Sharp wrote:
> > By disabling this, you are not creating a real-world situation.  Those
> > disks need to be polled for a reason, right?
> 
> Tianyu is trying to test the port power off mechanism with USB 3.0
> devices, to make sure the patches work on USB 3.0.  Since the majority
> of USB 3.0 devices are storage, he needs to disable the polling to run
> tests.
> 
> Yes, killing udev is an extreme measure, and using Alan's suggestion to
> stop the block device polling file is better.  Yes, this is just a test
> and not something we can do in a real Linux distro.

This would be an ideal time to extend the API to allow a driver to set
the timeout for autosuspend to zero. The storage driver should use
this if all its children have reported -ENOMEDIUM or are offlined.

        Regards
                Oliver

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

Reply via email to