]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:41:04 +0000 (13:41 -0700)
commit9b73a325d1c4971f9ce485e9b19baa8bd522432a
treeb54066ae260fcbe5b6c013f1df9f2014a95a0ed1
parentf64ac1879906e556a217cbd38084e8dd760cad3d
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>
(cherry picked from commit 2d55cd5f511d6fc377734473b237ac50820bfb9f)

Orabug: 25130845

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/pci.c