Getting rid of nvme's pci watchdog timer?

Keith Busch keith.busch at intel.com
Wed May 24 04:21:42 PDT 2017


On Wed, May 24, 2017 at 11:42:19AM +0200, Christoph Hellwig wrote:
> an idle controller all the time seems pretty useful to me.  I don't
> really understand the need for the watchdog fully as it predates my
> involvement, but I vaguely remember discussion the issue with Keith
> a while ago, so he might be able to help.

This was originally added to the driver's health check kthread to
keep a pulse on the devices, but I think it's causing more harm than
good. The hotplug races are bad enough, and this power savings killer is
yet another reason to remove it. I'm in favor of removing the watchdog
timer and moving the status check to the timeout callback so we verify
health only when we have a reason to believe something is wrong.



More information about the Linux-nvme mailing list