diff options
author | Keith Busch <[email protected]> | 2020-04-28 07:21:56 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-05-09 16:18:36 -0600 |
commit | 74943d45eef4db64b1e5c9f7ad1d018576e113c5 (patch) | |
tree | 1a0d4c8bc6d51ede2b4d4c66f6198b847bc537de /lib/mpi/mpi-mod.c | |
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 <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions