]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
nvme-pci: remove unnecessary completion doorbell check
authorKeith Busch <keith.busch@intel.com>
Wed, 6 Jun 2018 14:13:05 +0000 (08:13 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Jun 2018 18:51:11 +0000 (12:51 -0600)
commit397c699fb096e7a822990990c17c6b43e829cfc4
tree9c158c14be3e10688cddb9bdba2af52619df4860
parent0bc88192033a6e652e3fb1adfd6d1b66be33951e
nvme-pci: remove unnecessary completion doorbell check

The nvme pci driver never unmaps the doorbell registers while the requests
are active, so we can always safely update the completion queue head.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/pci.c