···567567 ignore (Heap.ptr job : Uring.id); (* Check it's still valid *)
568568 with_id t (fun id -> Uring.submit_cancel t.uring id (Heap.ptr job)) user_data
569569570570+let sqe_ready t = Uring.sq_ready t.uring
571571+570572(* Free stale entries in the sketch buffer, if possible.
571573 This isn't quite right: a busy system might never have 0 unsubmitted entries.
572574 We should probably track how many requests need to be submitted before each
+3
lib/uring/uring.mli
···666666(** [active_ops t] returns the number of operations added to the ring (whether submitted or not)
667667 for which the completion event has not yet been collected. *)
668668669669+val sqe_ready : _ t -> int
670670+(** [sqe_ready t] is the number of unconsumed (if SQPOLL) or unsubmitted entries in the SQ ring. *)
671671+669672module Stats : sig
670673 type t = {
671674 sqe_ready : int; (** SQEs not yet submitted. *)