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)
commit9396dec916c052855dbb5b876c13d163df397319
tree42dc0647582223730f118916890e067470351497
parent576d55d625664a20ee4bae6500952febfb2d7b10
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
This page took 0.024296 seconds and 5 git commands to generate.