Skip to content

Research notes / Linux I/O contracts

io_uring: completion is not a durable commit

/

Submitting a write followed by fsync does not, by itself, order them. The sync can run too early. Durable acknowledgment requires a dependency, complete write results and successful synchronization. [2]

On this page16 sections

Three boundaries, three different answers

io_uring exchanges requests and results through shared submission and completion rings. A submission result is not the write's byte count. Inspect the request's completion queue entry: for an ordinary write, its res carries the operation result or a negative error number. Do not interpret arrival alone as success. [1] [7]

For a write, compare the returned byte count with the requested length. A partial result leaves work unfinished. Use deliberate offsets: the write helper warns that asynchronous access to a shared current file offset can behave unpredictably unless serialized. [5]

For synchronization, io_uring_prep_fsync defaults to file-integrity synchronization; IORING_FSYNC_DATASYNC selects the narrower fdatasync contract. Preparing an SQE does not execute it. [4]

When can a zero-copy send buffer be reused?

SEND_ZC separates the send result from buffer release. The initial CQE reports a byte count or a negative error. If it carries IORING_CQE_F_MORE, keep the payload unchanged until the matching IORING_CQE_F_NOTIF notification. This applies even after an initial error. Both entries carry the request's user_data; an application's bookkeeping must distinguish outstanding requests and any other users of the same memory. Without F_MORE, no notification is promised for that send. [48] [57]

Decode the CQE kind before its signed result. With IORING_SEND_ZC_REPORT_USAGE, notification res is a usage bitfield. IORING_NOTIF_USAGE_ZC_COPIED occupies bit 31: as signed 32-bit res, 0x80000000 is -2147483648, not an ordinary send errno. Other result bits are reserved. Without usage reporting, a zero notification result does not demonstrate copy avoidance. [38]

There is a further Linux v6.16 implementation detail: the notification sets COPIED when copying occurred or no successful zero-copy use was recorded. An unsuccessful send can therefore produce that indication without proving a nonzero copied-byte count. It is not a second send result. [56]

Source-derived examples for one identified SEND_ZC request. Byte counts and error values are illustrative, not captured kernel results. Each notification row assumes a matching outstanding lifetime hold.
CQEResult and flagsBuffer consequence
Initial send4096; F_MOREKeep the payload until its notification; a byte count does not release it.
Initial error-5; F_MOREStill keep the payload; an error does not cancel the lifetime hold.
Initial error-22; no F_MORENo notification is promised for this send; its lifetime hold has ended.
Notification, usage unrequested0; F_NOTIFRelease this request's hold; zero does not establish copy avoidance.
Notification, usage requested-2147483648; F_NOTIFRelease this request's hold; COPIED is a usage indication, not an errno or byte count.

Buffer release is a local boundary. Copy fallback is allowed, and notification does not establish transmission or remote receipt. Consequently, a storage client still needs its application-level acknowledgment and persistence contract. Traditional socket MSG_ZEROCOPY uses the socket error queue and inclusive send-ID ranges instead of SEND_ZC notification CQEs; do not substitute one accounting interface for the other. [48] [58] See also source lifetime in zero-copy transfers.

Copy avoidance still has a CPU cost. In Jasny and colleagues' single-TCP-connection microbenchmark, zero-copy send cost more CPU cycles per transmitted byte than plain io_uring below about 1 KiB. Registered buffers helped amortize management overhead for larger messages. This is a workload-specific result from section 4.6, Figure 17 of arXiv v3, not a universal cutoff or a Hesela replication. [40] When evaluating a storage client, compare completed bytes, CPU time and buffer occupancy at the same payload sizes, concurrency, kernel and NIC configuration. Keep send-result accounting separate from buffer-release accounting regardless of which path is faster.

This section uses liburing 2.11 and Linux v6.16. The examples exercise interpretation rules, not network performance, actual copy avoidance or remote durability.

Where asynchronous work actually runs

io-wq provides helper threads for offloaded requests. Linux v6.14 queues such work and tries to reuse an available worker. It may request another when its concurrency conditions and worker-count limit permit. Asynchronous submission therefore does not imply worker-free execution. [53]

IOSQE_ASYNC requests immediate helper-thread offload, bypassing the usual initial nonblocking issue attempt. That can be useful for work expected to block, but can also add overhead. It is not a blanket speedup setting. [51]

A worker limit is not a reserved thread count. The io_uring_register_iowq_max_workers API accepts bounded and unbounded maxima, in that order. Two zeros query the existing settings; successful calls return the previous settings. Idle workers can retire. Here, unbounded describes work duration, not unlimited threads, and bounded is not an application completion deadline. [52]

Read back settings after a change. In the Linux v6.14 worker-limit helper, zero leaves that class unchanged and positive requests are capped by RLIMIT_NPROC. Query again with a fresh zero-filled array: the set-call array holds old limits, not accepted new limits or live worker counts. Serialize configuration changes when attributing that readback to a particular update. [53] The registration result describes the selected task's pool, not every submitting task. If that pool does not exist, the v6.14 path returns two zeros; that does not establish that worker execution is disabled. [55]

Track execution separately from acknowledgment. Once consumption is confirmed, the SQE slot may be reused even when the request has been deferred. Its payload buffer still needs the operation's lifetime rules. Choosing offload does not create a write-to-fsync dependency, make a short write complete or establish persistence. [54]

For an application evaluation, record the kernel and liburing versions, opcode, file type, buffering mode, CPU allocation and worker limits. Compare completed work, CPU consumption and tail latency under the same load before selecting forced offload. This is an engineering checklist, not a measured speedup or a recommended universal worker count.

A fixed file is not a fixed file descriptor

Registered files reduce repeated file-reference management. The original design article identifies file-reference accounting as avoidable per-request work, particularly when threads share the process file table; this is a mechanism, not a promised application speedup. [29] With IOSQE_FIXED_FILE, the SQE fd selects a ring-table slot, not a process descriptor. For example, registering descriptor 17 in slot 0 makes 0 the selector. These are illustrative identifiers, not a captured execution. [24] [25]

Registration holds a separate file reference, so closing the original descriptor does not remove the entry. Requests already holding that resource retain it across replacement. But preparing an SQE does not capture the slot's old identity: Linux v6.16 resolves the fixed file in its request-issue path. Coordinate slot reuse with requests that have not yet acquired the file. [26] [27]

An update is not a transaction. The liburing helper returns an updated-entry count or a negative errno. Linux v6.16 resets the old slot before looking up the replacement descriptor. If that lookup fails, the slot can be empty; earlier updates can remain applied. Check the returned count and reconcile affected slots instead of assuming failure restored the previous table. [25] [26]

A processed entry need not change a file. In Linux v6.16, IORING_REGISTER_FILES_SKIP advances the loop count without replacing its slot. A later invalid descriptor can clear the next slot while the helper returns a positive short count. The examples below trace that source path, with offset 0, zero tags, a two-entry table initially holding A and B, readable input arrays and no concurrent changes. fdC names an open ordinary file C; invalid is a nonnegative descriptor with no open file. Allocation succeeds where needed. [26] [30]

Source-derived Linux v6.16 examples, not observed kernel executions. SKIP means IORING_REGISTER_FILES_SKIP; empty means no registered reference.
Requested entriesHelper returnFinal slots 0, 1
[SKIP, fdC]2[A, C]
[SKIP, invalid]1[A, empty]
[fdC, invalid]1[C, empty]
[invalid, fdC]-EBADF[empty, B]

With resource tagging, an old nonzero tag identifies the retirement notification after its outstanding uses finish. Do not mistake that CQE for a write result or a durable-commit acknowledgment. Keep resource tags distinguishable from request identifiers. [24]

The term direct descriptor describes the ring-local file table. It does not itself select O_DIRECT, register a payload buffer, or establish persistence. The write-result, buffer-lifetime and synchronization requirements elsewhere in this article still apply. This is API and pinned source review, not a kernel experiment. [28]

A read completion is not necessarily a complete record

A short read can complete successfully without filling the requested buffer. For an ordinary one-shot regular-file read requesting n > 0 bytes, interpret CQE.res before passing data to a parser. [20] [21]

Positive-length reads only; byte counts are not integrity checks.
ResultMeaningExact-length consumer
res = nRequested bytes transferred.Still validate the record.
0 < res < nPartial progress, not itself an error.Account for the remaining range.
res = 0EOF for this positive regular-file request.Reject incomplete required input.
res < 0Operation error as negative errno.Handle the error separately.

A zero-length request can return zero without establishing EOF. Do not apply this table to every device or message API, or interpret a partial count as a diagnosed media failure. [20]

Explicit offsets avoid reliance on a shared current position; they do not create a snapshot. Even pread can return a partial result. [22] Application-design implication: a reader assembling one record across requests needs both byte accounting and a source-consistency contract. Buffer capacity and CQE arrival are not evidence that all required bytes were read. This is API review, not an executed io_uring test.

Saltzer, Reed and Clark's 1984 file-transfer example places the final acceptance check at the application: read back the destination and compare its checksum with the source before committing the transfer. Lower-layer checks can reduce retry costs, but cannot cover every failure along the complete path. This is a design argument, not an io_uring experiment. [23]

Applied here, that distinction gives two separate decisions: byte accounting establishes whether the requested range arrived; accepting it as the intended record requires its own integrity check and source-version contract. A checksum computed only over the bytes that happened to arrive does not establish the expected length or identify the intended version. This is our application-design synthesis.

A chain is not a ring-wide barrier

Documented ordering scope; none of these flags repairs a failed write. [3]
PatternWhat is orderedBoundary
Adjacent write, syncNo explicit dependency.Queue position is insufficient.
Write with IO_LINKNext request starts after this one completes.Only this chain; submit it together.
Sync with IO_DRAINEarlier requests finish first; later ones wait.Same ring, not other rings or processes.
Wait, then submit syncApplication checks relevant write completions first.Track every write in the intended commit.

Linked requests serialize a dependency chain, not unrelated work. A normal link breaks on an error or unexpected result; without completion suppression, unstarted successors report -ECANCELED. IO_HARDLINK preserves links across completion errors, but not all submission failures. A successful later sync therefore cannot certify that every predecessor wrote its intended data. [2]

IO_DRAIN waits for completion; it does not itself flush storage. There is another API trap: IOSQE_CQE_SKIP_SUCCESS and IOSQE_IO_DRAIN must not be mixed in one ring, even on different requests, under the documented contract. Avoid a completion-suppression optimization that invalidates the ordering design. [2]

When successful completions are deliberately omitted

Check IORING_FEAT_CQE_SKIP in the setup result before using IOSQE_CQE_SKIP_SUCCESS; the capability is documented since Linux 5.17. The first is a returned feature bit, the second an SQE flag. [49] Success uses the opcode's link-continuation rule, not simply res >= 0. A short read can still be reported. [48]

The upstream skip-cqe.c tests distinguish the following normal-chain paths. All requests except the tail carry the skip flag; exclude IO_HARDLINK, linked timeouts and multishot operations here. [50]

Source-derived expectations from upstream tests, not executions performed by Hesela.
PathExpected reportAccounting implication
All operations succeedThe unsuppressed tail reports.Identify this chain's terminal result.
The unsuppressed tail failsThe tail reports its error.Check the result, not only the terminal identifier.
Earlier skip-enabled request failsThe failing request reports; later reports are omitted.Do not wait only for the tail identifier.

Application-design inference: an empty completion queue alone is not a completion certificate, permission to recycle payload memory, or a durable commit. Track the permitted success and failure paths explicitly. Fewer reports do not remove the write-result and synchronization obligations.

If an operation generates no CQE, its result fields are not delivered. Application-design consequence: retain a report whenever later work needs its returned information and no independent mechanism supplies it. A terminal identifier alone never establishes success. [48]

A linked timeout carrying the skip flag never reports, even on expiration or cancellation. Its own flag controls this exception. The ring-wide IO_DRAIN prohibition above still applies. [48]

Why completion order alone is weak evidence

Our deliberately simplified model enumerates three events: a full write completes, synchronization starts, synchronization completes. Sync completion must follow its start. All calls succeed; the file already exists, with no competing writer. These are logical examples, not captured kernel traces.

The model checks a sufficient ordering condition, not whether bytes happened to persist.
Event orderWrite completed before sync began?
write-complete > sync-start > sync-completeYes
sync-start > write-complete > sync-completeNot established
sync-start > sync-complete > write-completeNot established

In the middle case, write completion precedes sync completion but follows sync start. That observation alone is insufficient. Missing the dependency does not prove data loss: storage may have persisted the data anyway. The three rows are not equally likely outcomes and cannot yield a failure probability.

The dependency-free model prints its assumptions and traces when run with Node.js. Tests reject duplicate, missing and causally impossible events and check the counterexample.

What the FAST paper actually measures

Joshi and colleagues' FAST 2024 paper studies an NVMe passthrough path built on io_uring commands. Section 2.2 separates batching, polling and chaining. Its efficiency evaluation compares character-device and block-device paths, not durable file commits. Section 7.1 uses unbuffered random reads on an Intel Optane P5800X; Table 3 lists Linux 6.2 and fio 3.35. [8]

The reported peak-IOPS improvement is not evidence that write-plus-sync ordering is unnecessary, nor a portable speedup for a database commit. The evaluation also varies kernel configuration, including mitigations. We did not reproduce it and do not recommend disabling security protections for benchmark scores.

Integrity metadata is a separate contract

A correctly ordered write can still carry the wrong bytes. io_uring integrity metadata lets an application accompany data with protection information (PI). In the Linux v6.14 ABI, set attr_type_mask to IORING_RW_ATTR_FLAG_PI and point attr_ptr at an io_uring_attr_pi. Its addr and len describe a separate metadata buffer, not extra file-data bytes. [9]

Initialize the complete attribute structure, including the reserved field. Choose guard, reference-tag and application-tag checks deliberately: the block layer maps the supplied flags to individual checks; attaching a buffer with zero flags does not request all three. Whether a requested check is usable still depends on the device format and driver. [10] [11]

Source-level rejection points, not a complete error catalogue or a hardware test.
ConditionObserved source rulePractical implication
Unknown attribute bitio_prep_rw: -EINVALDo not confuse the PI selector with check flags.
Nonzero reserved fieldio_prep_rw_pi: -EINVALUninitialized stack fields can invalidate the request.
No O_DIRECTio_rw_init_file: -EOPNOTSUPPUser-supplied PI is not buffered-file writeback support.
No integrity profile or too little metadatabio_integrity_map_iter: -EINVALSize metadata for the actual integrity intervals and tuple size.
Unknown check flagbio_integrity_map_iter: -EINVALUse only the supported check-mask bits.

These rules come from the v6.14 request and block-integrity paths. [10] [11] The raw block-device direct-I/O implementation maps user metadata into each relevant I/O. This does not establish that every filesystem accepts it. Inspect the entire application, filesystem, block-layer and device path; a kernel version or an NVMe label alone is insufficient. [12]

PI checking does not replace the write-result and synchronization checks above. It also does not automatically prove freshness or authenticate data against an attacker. See the separate identity, freshness and authentication boundaries. Never respond to an integrity error by silently retrying without protection.

FAST 2026: distinguish the API from FS-PI

Gupta and colleagues separate the upstream io_uring metadata interface from their filesystem-managed PI work in Btrfs and XFS. Their evaluation uses a Linux 6.15-based setup and a Samsung PM9D3; experiments are repeated four times. Btrfs replica-based recovery is left to future work in that implementation. [13]

The paper's SSD lifetime improvement is a projection from an hour of host-write measurements, not a survival study or a measured reduction in drive failures. The evaluated filesystem changes are not proven present in a distribution merely because it supports the io_uring ABI. We reviewed the paper and pinned source; we did not reproduce its benchmarks or test a PI-capable device.

Cancellation has its own result

An asynchronous cancellation targets another request; it is not that request's completion. Give the target and cancellation distinct user_data values and keep their records separate. Do not reuse a target identifier until its completion and every outstanding cancellation attempt targeting that identifier have been accounted for. [19] [14]

liburing 2.9 contract: user_data matching, flags = 0, ordinary one-shot requests with visible CQEs. These are cancellation CQE results. [14]
Cancel resultMeaningNext check
0Cancellation succeeded.Consume the target's separate completion.
-ENOENTNo matching request was found.Check the identifier and whether the target already completed.
-EALREADYThe target has progressed beyond immediate cancellation.Wait for its completion; do not infer its result.

This is not a complete error list. A target's write result still needs byte-count and error handling. Neither record is a rollback receipt or a substitute for the synchronization protocol above.

Buffer lifetime is a separate boundary. Read/write payload buffers must remain valid until their operation completes. The submission-time lifetime of some argument structures does not apply to those payload bytes; IORING_FEAT_SUBMIT_STABLE is not permission to recycle an in-flight read/write buffer. For the one-shot case here, a conservative application rule is to retain the buffer until the target CQE has been consumed. A wait timeout or a failed cancellation is not that completion. Keep request-ID bookkeeping for outstanding cancellation attempts separate from buffer ownership. [1] [14]

Do not extend this table to bulk cancellation. In Linux v6.14, __io_async_cancel increments its bulk counter for non-ENOENT results, including a running-work result from io_async_cancel_one. A positive aggregate is not a per-request completion ledger. Track the target completions individually. This is a pinned implementation observation, not a universal count contract. [16]

A deadline is not a write rollback

io_uring_wait_cqe_timeout limits a wait for a completion. Its return value describes that wait, not the result inside a returned CQE. A wait ending with -ETIME is not evidence that an outstanding operation was canceled. [18]

A linked timeout is a different request: attach IORING_OP_LINK_TIMEOUT to the preceding operation with IOSQE_IO_LINK. Consider the narrow two-request case, with timeout flags zero. The timer can be disarmed when its target finishes; expiry can attempt cancellation. Check both CQEs. [15] [17]

For example, a timeout CQE containing -ECANCELED does not mean the write was canceled: it can describe the timer being removed after target success or failure. Conversely, timer expiry does not undo bytes already written. Linux v6.14's io_req_task_link_timeout calls the cancellation path and reports its outcome, using -ETIME when that path returns zero. If no predecessor remains, this path can report -ETIME without calling cancellation. Timer -ETIME alone therefore does not prove target cancellation. [15] [17]

Application design inference: retain the original request identity and result before deciding whether a retry is safe. An append or externally visible operation may require reconciliation or an idempotency key. Multishot requests, suppressed completions, hard-linked chains and nonzero timeout flags are outside this example. This is source review, not a kernel execution experiment.

Fixed buffers and selected buffers answer different questions

Registered buffers give fixed-buffer operations reusable memory regions. A fixed read selects an entry with buf_index; its address and length may describe a subrange, but must fit inside that entry. Registration can amortize mapping and page-reference work. It does not itself select O_DIRECT, guarantee a full transfer, or establish persistence. [31] [32]

Provided buffers solve a different selection problem: a supported read or receive requests a group with IOSQE_BUFFER_SELECT and buf_group. Check IORING_CQE_F_BUFFER before interpreting the upper 16 flag bits as the returned buffer ID. Keep that ID separate from the group and from a fixed-buffer index. [33]

Buffer selection is not limited to receive destinations. Supported send operations can select outgoing data from provided buffers; the send manual documents this support since Linux 6.10. The read and receive lifetimes discussed here are not a recipe for every opcode. [44] [45] Check IORING_FEAT_RECVSEND_BUNDLE in the features returned at ring setup for this capability. It is reported by the kernel, not an SQE flag; supported requests still use IOSQE_BUFFER_SELECT with buf_group. [46] [47]

Registering a provided-buffer ring is different from registering its payload memory for fixed-buffer I/O. io_uring_register_buf_ring establishes the descriptor ring and group used for selection; io_uring_register_buffers establishes indexed memory regions for fixed-buffer operations. Registering one does not perform the other registration. [41] [31]

Identifier roles in the reviewed APIs, not interchangeable array indexes.
IdentifierSelects or identifiesEvidence
buf_indexA registered memory region for a fixed-buffer operation.[32]
buf_groupA provided-buffer group for kernel selection.[33]
bidThe application buffer ID returned with F_BUFFER.[34]
buf_offsetAn insertion position relative to the buffer-ring tail.[34]

Consuming a completion does not refill the pool. io_uring_cqe_seen releases the CQ slot. With a provided-buffer ring in ordinary non-incremental mode, first finish processing the returned payload, then add its descriptor and publish it with io_uring_buf_ring_advance when it is safe to offer that memory again. io_uring_buf_ring_add alone does not publish the entry. [36] [34] [35]

The combined io_uring_buf_ring_cq_advance helper publishes buffers already added while advancing the CQ. Its ordinary form uses the same count for both; its double-underscore variant accepts separate counts. Neither invents descriptors for consumed completions. Application bookkeeping must also preserve each buffer ID's current address mapping. [37] [34]

Request continuation is not buffer retention. In the Linux v6.16 ABI, IORING_CQE_F_MORE refers to future request completions. IORING_CQE_F_BUF_MORE instead says the kernel will continue using a partially consumed buffer in incremental mode. That buffer is not ready for whole-buffer recycling. In ordinary non-incremental operation, a returned buffer can be processed and replenished while a multishot request remains active. This distinction supplements, rather than changes, the one-shot write and cancellation rules above. The comparison uses liburing 2.8 documentation and the pinned ABI, not a kernel execution or benchmark. [38]

Registration has a memory budget. The liburing 2.8 registration manual describes locked buffers charged against RLIMIT_MEMLOCK. Registering a small part of a huge page still pins the whole huge page. Ring teardown may run asynchronously: closing the ring does not guarantee immediate unpinning. Our engineering takeaway is to measure the registered pool separately from request sizes and CPU savings. [39]

Performance evidence is workload-specific. Jasny and colleagues report about 11% higher throughput after adding registered buffers to their already asynchronous, batched YCSB storage engine. Their setup used Linux 6.15.0, an AMD EPYC 9654P and eight Kioxia CM7-R SSDs; the workload used a 1 GB buffer pool and 4 KiB pages. Their small-message network tests showed negligible benefit from registration. These are the authors' measurements, not a Hesela replication or a universal speedup. The relevant comparison holds architecture, workload and hardware fixed. [40]

Refilling buffers does not restart a terminated request. For multishot receive, inspect IORING_CQE_F_MORE on every completion, including nonnegative results. When it is absent, the request has ended; submit a new receive if one is still needed. Pool replenishment and request resubmission are separate actions. Multishot also does not mean arbitrary repeated disk reads: io_uring_prep_read_multishot requires a pollable file type, such as a pipe; ordinary regular files fail with -EBADFD in this reviewed API. [42] [43]

Review the acknowledgment, not just the queue

Identify the intended write set, request IDs, offsets, expected lengths, dependency scope, every completion result and the sync target. A file sync does not necessarily persist its containing directory entry. Creation and replacement protocols need their own directory treatment. [6]

Ordering is not rollback or multi-file atomicity. After an error, preserve the failure context instead of treating another successful sync as proof of repair. See fsync error recovery and durable rename. These examples assume ordinary one-shot file writes with visible completions; the cancellation discussion has the same scope and does not cover multishot protocols.

Sources and limits

Primary-source API review using liburing 2.9 manuals, the current io_uring_enter manual and FAST 2024 sections 2.2 and 7.1; executable enumeration of an explicitly simplified event-order model. Linux v6.14 ABI and request/block-integrity source review; FAST 2026 sections 5.2, 5.3.5, 6.1 and 6.2.4. Cancellation and linked-timeout review against liburing 2.9 and Linux v6.14. Buffer lifetime checked against the current io_uring(7) manual. Short-read boundaries checked against Linux man-pages 6.19 read/pread and the liburing 2.9 read-helper manual. End-to-end acceptance context reviewed against Saltzer, Reed and Clark (1984), sections 2.1-2.3; the io_uring application is our synthesis, not a result measured by that paper. Registered-file identity and updates reviewed against liburing 2.8 and Linux v6.16. Registered-file update examples are source traces of Linux v6.16, not observed executions; overhead context uses Efficient IO with io_uring, section 8.1. Fixed-buffer selection and provided-buffer replenishment reviewed against liburing 2.8; request continuation versus incremental buffer retention checked against the Linux v6.16 ABI. Registered-memory costs reviewed against liburing 2.8 io_uring_register(2); workload-dependent performance evidence reviewed in Jasny et al. (PVLDB 2026), arXiv v3 sections 3.2, 3.4.1 and 4.6. Provided-ring registration and multishot receive termination/read file-type restrictions reviewed against liburing 2.8. Send-side scope cross-checked against liburing 2.8 and Linux v6.16 opcode capabilities. Send-buffer capability detection reviewed against liburing 2.8 io_uring_setup(2) and the Linux v6.10 UAPI; returned feature bits are distinct from SQE selection flags. Completion-suppression semantics reviewed against pinned liburing 2.11 enter/setup manuals and test_link_success/test_link_fail in test/skip-cqe.c; these upstream tests were inspected, not executed. Helper-thread offload and worker limits reviewed against liburing 2.10 and Linux v6.14 io-wq.c; no workload execution. SEND_ZC lifetime and usage-bitfield review against liburing 2.11 and Linux v6.16; source-derived CQE fixtures, not captured executions. No kernel execution experiment, power-loss test, workload benchmark or paper reproduction. Model traces illustrate missing guarantees, not failure frequencies. Synchronization assumes the underlying storage honors its contract.

  1. liburing: io_uring(7), result reporting, shared rings and SQE pointer lifetimes.
  2. liburing: io_uring_enter(2), IORING_OP_FSYNC, linking and CQE_SKIP_SUCCESS constraints.
  3. liburing 2.9: io_uring_sqe_set_flags(3), chain and drain scope.
  4. liburing 2.9: io_uring_prep_fsync(3), fsync and fdatasync semantics.
  5. liburing 2.9: io_uring_prep_write(3), explicit offsets and result handling.
  6. Linux man-pages: fsync(2), error and directory persistence boundaries.
  7. liburing: io_uring_submit(3), submission return value.
  8. Kanchan Joshi, Anuj Gupta, Javier Gonzalez, Ankit Kumar, Krishna Kanth Reddy, Arun George, Simon Lund and Jens Axboe. I/O Passthru: Upstreaming a flexible and efficient I/O Path in Linux. FAST 2024, pp. 107-121; sections 2.2 and 7.1, Table 3.
  9. Linux v6.14: io_uring userspace ABI, SQE attributes and io_uring_attr_pi.
  10. Linux v6.14: io_prep_rw_pi, io_prep_rw and io_rw_init_file in io_uring/rw.c.
  11. Linux v6.14: bio_integrity_map_iter and explicit integrity-check flags.
  12. Linux v6.14: direct block-device I/O mapping of user integrity metadata.
  13. Anuj Gupta, Christoph Hellwig, Kanchan Joshi, Vikash Kumar, Javier Gonzalez, Roshan R Nair and Jinyoung Choi. Advancing Data Integrity in Linux. FAST 2026, pp. 643-657; sections 5.2, 5.3.5, 6.1 and 6.2.4.
  14. liburing 2.9: io_uring_prep_cancel(3), single-target results and completion handling.
  15. Linux v6.14: io_async_cancel_one and __io_async_cancel, including the bulk-count path.
  16. Linux v6.14: io_req_task_link_timeout and io_disarm_next.
  17. liburing 2.9: io_uring_wait_cqe_timeout(3), waiting result versus operation result.
  18. liburing 2.9: io_uring_cqe_get_data(3), application-supplied completion identity.
  19. Linux man-pages 6.19: read(2), partial results, EOF and zero-length requests
  20. liburing 2.9: io_uring_prep_read(3), offsets and completion results
  21. Linux man-pages 6.19: pread(2), explicit offsets and partial transfers
  22. J. H. Saltzer, D. P. Reed and D. D. Clark. End-to-End Arguments in System Design. ACM TOCS 2(4), 277-288 (1984), sections 2.1-2.3.
  23. liburing 2.8: io_uring_register(2), registered files and resource tags
  24. liburing 2.8: io_uring_register_files(3), registration and update return values
  25. Linux v6.16: io_sqe_files_register, __io_sqe_files_update and io_free_rsrc_node
  26. Linux v6.16: io_assign_file and io_file_get_fixed
  27. liburing 2.8: io_uring_prep_openat(3), direct descriptors and ordinary descriptors
  28. Jens Axboe: Efficient IO with io_uring, section 8.1 (fixed files and buffers)
  29. Linux v6.16: io_reset_rsrc_node clears the table entry
  30. liburing 2.8: registration and fixed-buffer mapping
  31. liburing 2.8: registered index and permitted subranges
  32. liburing 2.8: buffer groups and selected IDs
  33. liburing 2.8: ring offsets and application buffer IDs
  34. liburing 2.8: publishing buffers and ownership
  35. liburing 2.8: completion-slot consumption
  36. liburing 2.8: combined CQ and buffer publication
  37. Linux v6.16: CQE buffer-selection and continuation flags
  38. liburing 2.8: io_uring_register(2), locked memory and asynchronous teardown
  39. Matthias Jasny et al. High-Performance DBMSs with io_uring: When and How to Use It. PVLDB 19(9), 2317-2330 (2026), DOI 10.14778/3819518.3819553; arXiv v3, sections 3.2, 3.4.1 and 4.6.
  40. liburing 2.8: provided-buffer descriptor-ring registration
  41. liburing 2.8: receive termination and resubmission
  42. liburing 2.8: pollable-file requirement for multishot read
  43. liburing 2.8: provided buffers for supported send operations
  44. Linux v6.16: SEND opcode supports buffer selection
  45. liburing 2.8: reported send-buffer capability at ring setup
  46. Linux v6.10: separate setup feature bits and SQE selection flags
  47. liburing 2.11: io_uring_enter(2), IOSQE_CQE_SKIP_SUCCESS and link/timeout exceptions
  48. liburing 2.11: io_uring_setup(2), IORING_FEAT_CQE_SKIP capability
  49. liburing 2.11: skip-cqe.c, test_link_success and test_link_fail (source inspection only)
  50. liburing 2.10: io_uring_sqe_set_flags(3), IOSQE_ASYNC
  51. liburing 2.10: io_uring_register_iowq_max_workers(3)
  52. Linux v6.14: io-wq.c, io_wq_enqueue and io_wq_create_worker
  53. liburing 2.10: io_uring_enter(2), submission consumption and IORING_OP_FSYNC
  54. Linux v6.14: io_register_iowq_max_workers, existing-pool and no-pool return paths
  55. Linux v6.16: notif.c, io_notif_tw_complete and zero-copy usage reporting
  56. Linux v6.16: net.c, io_send_zc_prep and io_sendrecv_fail
  57. Linux v6.16: MSG_ZEROCOPY, socket error-queue notifications and deferred copying

Integrity review checked 15 October 2026; cancellation review checked 17 October 2026. liburing 2.9 and Linux v6.14 are explicit review targets, not claims about the latest releases.

Published by Hesela team · Published · Updated

Report a correction · Editorial standards · Reuse guidance

Change history

: first published.

: latest recorded update. A detailed change note is not available for this revision.

New-publication RSS · Correction RSS

Cite this page
Hesela team. io_uring: completion is not a durable commit. Hesela. 2026-11-29. https://hesela.com/analyses/io-uring-completion-ordering-durability/