bio_is_zone_append(9)
π 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:
bio_advance(9)struct folio_iter(9)bio_for_each_folio_all(9)bio_next_split(9)bio_in_atomic(9)bio_complete_in_task(9)bio_endio_status(9)bio_iov_bounce_nr_vecs(9)bio_add_max_vecs(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms