aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2020-04-28 07:21:56 -0700
committerJens Axboe <[email protected]>2020-05-09 16:18:36 -0600
commit74943d45eef4db64b1e5c9f7ad1d018576e113c5 (patch)
tree1a0d4c8bc6d51ede2b4d4c66f6198b847bc537de /lib/mpi/mpi-mod.c
parentb04df85d9a05d7ee4b3f93c1a22312b41a949ec1 (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