commit | 88b845dee001723c4a0db1fe5477de735b6d3bb0 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Dec 17 17:10:18 2020 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Dec 17 17:10:58 2020 -0700 |
tree | c2c9b083a67da5fb3901c3fee36ac91e15b0f6a3 | |
parent | 31a9f9cb495b468f3a93c4edaf8fccd65aa86f64 [diff] |
src/queue: add comment on why reading SQ->head for flush isn't atomic This has come up at least two times, add a comment there to explain exactly why the code is fine as-is. Fixes: https://github.com/axboe/liburing/issues/268 Signed-off-by: Jens Axboe <axboe@kernel.dk>