bio_is_zone_append(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… bio_is_zone_append(9)

okay so bestie, welcome to the Kernel API Manual β€” today's vibe check is one tiny but iconic question: is this bio a zone append bio? πŸŽ€ no cap, that's the whole thing.


✨ NAME ✨

bio_is_zone_append β€” is this a zone append bio? πŸ‘€

🌸 SYNOPSIS 🌸

bool bio_is_zone_append (struct bio *bio );

🫢 ARGUMENTS 🫢

  • bio β€” the bio to check. literally just hand it over and let it look πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

Check if bio is a zone append operation. πŸ¦‹

Core block layer code and end_io handlers must use this instead of an open coded REQ_OP_ZONE_APPEND check, because the block layer can rewrite REQ_OP_ZONE_APPEND to REQ_OP_WRITE if it is not natively supported. like, do not roll your own check here, bestie β€” this is the whole point. periodt πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./include/linux/bio.h:


and that's the tea β˜• β€” this page comes from ./include/linux, is dated October 2026, and belongs to the Kernel API Manual. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from