Storage glossary · JSON corpus · llms.txt · hesela.com

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: io_uring integrity metadata 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, end-to-end-data-protection, direct-io, io-uring-cqe, fsync

Advantages

Limitations

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)
  5. Hesela: io_uring integrity metadata is a separate contract. (accessed 2026-10-15)

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