]> git.baikalelectronics.ru Git - kernel.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)
committerJens Axboe <axboe@fb.com>
Mon, 29 Feb 2016 15:47:16 +0000 (08:47 -0700)
commit06cf5b74c7e55bc4327e5e3cbf795f984d6d27f2
treeea483d1efe56a4f6334122a499e0481bbab2d848
parent50ac3165708c96ba4648738e4a060f7d5b52b3f1
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