Skip to content

Commit

Permalink
Link to issue #129 from code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JackKelly committed May 16, 2024
1 parent 3e84531 commit cbc9c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/lsio_uring/src/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl UringWorker {
// TODO: Instead of calling `submit()` on every loop, we should keep our
// own check on how long has elapsed since we last submitted to the SQ,
// and only call `submit()` when we know the SQ has gone to sleep.
// `submit()` loads an AtomicBool twice (with Acquire memory ordering).
// See issue #129.
self.uring.submitter().submit().unwrap();
self.ops_in_flight.put(index_of_op, operation);
if self.sq_len_plus_cq_len() < HIGH_WATER_LINE {
Expand Down

0 comments on commit cbc9c88

Please sign in to comment.