]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:41:03 +0000 (13:41 -0700)
commitd9860da1c8a2077efd100dcc22dbe3f038fa07a4
treefa2481645b9b8cbae6a3081399cf92b18779f598
parent4d50d3a51d89c99c4e487d5a3642668506208844
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>
(cherry picked from commit 9396dec916c052855dbb5b876c13d163df397319)

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