Skip to content
Commit 36a7e993 authored by Jon Derrick's avatar Jon Derrick Committed by Jens Axboe
Browse files

NVMe: Memory barrier before queue_count is incremented



Protects against reordering and/or preempting which would allow the
kthread to access the queue descriptor before it is set up

Signed-off-by: default avatarJon Derrick <jonathan.derrick@intel.com>
Acked-by: default avatarKeith Busch <keith.busch@intel.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 4cc06521
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment