]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: use a work item to submit async event requests
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Feb 2016 14:59:44 +0000 (15:59 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 29 Feb 2016 15:47:13 +0000 (08:47 -0700)
commitedb77945e278c18293cd477234568526d70a84b2
tree42dc0647582223730f118916890e067470351497
parentbe6faa0203da91d6543e43a20155f717b10fc57a
nvme: use a work item to submit async event requests

Use a dedicated work item to submit async event requests instead of the
global kthread.  This simplifies the code and reduces the latencies to
resubmit a request once an even notification happened.

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