commit | 74943d45eef4db64b1e5c9f7ad1d018576e113c5 | [log] [tgz] |
---|---|---|
author | Keith Busch <kbusch@kernel.org> | Tue Apr 28 07:21:56 2020 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Sat May 09 16:18:36 2020 -0600 |
tree | 1a0d4c8bc6d51ede2b4d4c66f6198b847bc537de | |
parent | b04df85d9a05d7ee4b3f93c1a22312b41a949ec1 [diff] |
nvme-pci: remove volatile cqes The completion queue entry is not volatile once the phase is confirmed. Remove the volatile keywords and check the phase using the appropriate READ_ONCE() accessor, allowing the compiler to optimize the remaining completion path. Signed-off-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>