jbd2_journal...ate_sb_errno(9)
π jbd2_journal_update_sb_errno β the Kernel API Manual, bestie edition π
okay so this is a page straight out of the Kernel API Manual, and the function name got so long it literally got clipped to jbd2_journal...ate_sb_errno(9) in the corner. dramatic. we love a mysterious queen. anyway, sit down, hydrate, and let's get into it β¨
πΈ NAME πΈ
jbd2_journal_update_sb_errno β she updates the error in the journal. that's it, that's the whole job description π
π¦ SYNOPSIS π¦
void jbd2_journal_update_sb_errno (journal_t *journal );
not me with the cutest little void return type β she gives nothing back, she's just here to do the thing, main character energy fr fr π
π ARGUMENTS π
journalβ the journal you're updating. like, hand her the journal, she does her little task, everyone moves on. that's the whole vibe check π«Ά
β¨ DESCRIPTION β¨
okay so picture this: she updates a journal's errno, bestie. that's the whole plot. no subplot, no twist π
and then β because she's not a flake β she writes the updated superblock to disk, and she waits for IO to complete. like she literally stands there tapping her foot until the write is actually done. no "fire and forget", no "it'll probably land eventually". she waits. periodt πβ¨
lowkey the takeaway: it's a synchronous-ish situation. she's not leaving until the disk says it's done. icon behaviour, honestly π
π₯ SEE ALSO π₯
the source for all of this lives in the Kernel file ./fs/jbd2/journal.c β go read it if you wanna be nosy, no judgement π§
and here's the whole friend group, all in (9) section, all iconic in their own way:
jbd2_journal_force_commit_nested(9)jbd2_journal_force_commit(9)jbd2_journal_shrink_scan(9)jbd2_journal_shrink_count(9)jbd2_journal_init_dev(9)jbd2_journal_init_inode(9)jbd2_journal_update_sb_log_tail(9)jbd2_mark_journal_empty(9)__jbd2_journal_erase(9)jbd2_journal_load(9)jbd2_journal_destroy(9)jbd2_journal_check_used_features(9)jbd2_journal_check_available_features(9)jbd2_journal_set_features(9)jbd2_journal_flush(9)jbd2_journal_wipe(9)jbd2_journal_abort(9)jbd2_journal_errno(9)jbd2_journal_clear_err(9)jbd2_journal_ack_err(9)
like, that's a squad π the error-handling girlies (errno, clear_err, ack_err) are all right there next to her β iykyk πΈ
and that's the page, bestie!! π this little gem comes from the source dir ./fs/jbd2 and it's dated October 2026 β yes, future girlie behaviour, we're reading a manpage from the future, slay π°οΈβ¨ mwah, go update some superblocks responsibly ππ
π¦ 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