commit | 920d13a884c0595451658a7b48af8ac16918628f | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagi@grimberg.me> | Sun Jun 18 17:28:09 2017 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jun 28 08:14:13 2017 -0600 |
tree | 1b58fe9d0ab6e1aa6eb01f2228da48a623699976 | |
parent | 83a12fb77b941a6735026e46c8ef5f4ec1204e97 [diff] |
nvme-pci: factor out the cqe reading mechanics from __nvme_process_cq Also, maintain a consumed counter to rely on for doorbell and cqe_seen update instead of directly relying on the cq head and phase. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>