nvme: replace the kthread with a per-device watchdog timer
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Feb 2016 14:59:46 +0000 (15:59 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 29 Feb 2016 15:47:16 +0000 (08:47 -0700)
commit2d55cd5f511d6fc377734473b237ac50820bfb9f
treeea483d1efe56a4f6334122a499e0481bbab2d848
parent79f2b358c9ba373943a9284be2861fde58291c4e
nvme: replace the kthread with a per-device watchdog timer

The only work left in the kthread is the periodic health check for each
controller.  There is no need to run this from process context or keep
a thread context around for it, so replace it with a simpler timer.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c