]> 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)
commitb5cbce269dfa84e8f8d598e43062752dc9c24ac2
treeea483d1efe56a4f6334122a499e0481bbab2d848
parentb4a628c78814395b009c9fed9e24f52de2f35655
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