abort_on_error(9)
β¨ abort_on_error(9) β¨
okay so bestie, welcome to the Kernel API Manual, section 9 β today's main character is abort_on_error(9), and she's here to tell you when a repair should just β stop β. Let's get into it π
π NAME π
abort_on_error β the vibe-check function that aborts a repair if there is an error. literally her whole job π«Ά
πΈ SYNOPSIS πΈ
bool abort_on_error (int result , struct repair_completion *repair );
π¦ ARGUMENTS π¦
resultβ the result you want to check π like, is this thing an error or not, bestierepairβ the repair completion β¨ that's thestruct repair_completion *she's working with
π RETURN π
Returns true if the result was an error π so likeβ¦ if you get true back, something went wrong and the repair is not slaying today π
π₯ SEE ALSO π₯
okay this list is long but we do NOT skip entries in this house π every single one, fr fr:
as_repair_completion(9)abort_repair(9)drain_slab_depot(9)flush_block_map_updates(9)handle_page_load_error(9)unmap_entry(9)remove_out_of_bounds_entries(9)process_slot(9)rebuild_reference_counts_from_page(9)page_loaded(9)fetch_page(9)rebuild_from_leaves(9)process_entry(9)advance_points(9)before_recovery_point(9)get_entry(9)validate_recovery_journal_entry(9)add_slab_journal_entries(9)vdo_replay_into_slab_journals(9)find_entry_starting_next_page(9)get_recovery_journal_block_header(9)is_valid_recovery_journal_block(9)is_exact_recovery_journal_block(9)find_recovery_journal_head_and_tail(9)unpack_entry(9)append_sector_entries(9)extract_new_mappings(9)compute_usages(9)vdo_repair(9)
and if you're wondering where all these live β the kernel file is ./drivers/md/dm-vdo/repair.c π§ iykyk
π‘ reminder bestie:abort_on_erroronly returnstruewhen the result was an error. don't go reading anything else into it, no cap π«Ά
that's the whole page, you ate that π huge slay for making it to the end of the see-also list, honestly iconic behavior π
signed, sealed, delivered from ./drivers/md/dm-vdo β October 2026 edition πβ¨
π¦ 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