NVMe: Start-stop nvme_thread during device add-remove.
authorDan McLeran <daniel.mcleran@intel.com>
Mon, 7 Apr 2014 23:10:11 +0000 (17:10 -0600)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Thu, 10 Apr 2014 21:04:46 +0000 (17:04 -0400)
commitb9afca3efb18a9b8392cb544a3e29e8b1168400c
tree44bb0145248950a7beedad5e592dfc9ff7ecfa4d
parentb355084a891985d4cd0ca23b1a83366af2c4232d
NVMe: Start-stop nvme_thread during device add-remove.

Done to ensure nvme_thread is not running when there
are no devices to poll.

Signed-off-by: Dan McLeran <daniel.mcleran@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme-core.c