io-uring-integrity-metadata · shipping · also io_uring PI attribute

io_uring integrity metadata

io_uring integrity metadata is a separately described protection-information buffer attached to a read or write request through SQE attributes.

Related Observatory article: Read on hesela.com

In Linux v6.14, attr_type_mask selects IORING_RW_ATTR_FLAG_PI and attr_ptr identifies io_uring_attr_pi, whose addr and len describe metadata rather than file-data bytes. Initialize the reserved field to zero. [1] [2] The request path requires O_DIRECT; the block mapping path rejects a missing integrity profile, insufficient metadata or unsupported check flags. Zero check flags do not request guard, reference-tag and application-tag checks automatically. Kernel ABI presence alone does not prove filesystem or device support. [2] [3] [4]

Relations

related
io_uring, Protection information (PI), End-to-end data protection, Direct I/O, io_uring completion queue entry, fsync

Advantages

  • Lets participating applications supply integrity metadata alongside ordinary read/write requests.

Limitations

  • Does not itself establish persistence, freshness, cryptographic authentication or repair.
  • The reviewed Linux v6.14 path does not accept user PI for buffered I/O; metadata format and checks depend on the supported stack.

Citations

  1. Linux v6.14: io_uring userspace ABI, SQE attributes and io_uring_attr_pi. (accessed 2026-10-15)
  2. Linux v6.14: io_prep_rw_pi, io_prep_rw and io_rw_init_file in io_uring/rw.c. (accessed 2026-10-15)
  3. Linux v6.14: bio_integrity_map_iter and explicit integrity-check flags. (accessed 2026-10-15)
  4. Linux v6.14: direct block-device I/O mapping of user integrity metadata. (accessed 2026-10-15)

Further reading

  1. Hesela: io_uring integrity metadata is a separate contract. (accessed 2026-10-15)

JSON: /data/terms/io-uring-integrity-metadata.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. io_uring integrity metadata. Hesela. 2026-10-15. https://hesela.dev/terms/io-uring-integrity-metadata/