NVMe: add blk polling support
authorJens Axboe <axboe@fb.com>
Wed, 4 Nov 2015 03:37:26 +0000 (20:37 -0700)
committerJens Axboe <axboe@fb.com>
Sat, 7 Nov 2015 17:40:47 +0000 (10:40 -0700)
commita0fa9647a54e81883abd57c5c865d1747f68a577
treef017a7459fd6e0cc36b0e004c7d4a059b5a04c15
parent05229beeddf7e75e2e616ddaad4b70e7fca9528d
NVMe: add blk polling support

Add nvme_poll(), which will check a specific completion queue for
command completions. Wire that up to the new block layer poll
mechanism.

Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Keith Busch <keith.busch@intel.com>
drivers/nvme/host/pci.c