jbd2_journa..._sb_log_tail(9)
π NAME π
okay so bestie, welcome to the jbd2_journa..._sb_log_tail(9) page from the Kernel API Manual π this function, jbd2_journal_update_sb_log_tail, updates the log tail in the journal sb on disk β iconic behavior only β¨
β¨ SYNOPSIS β¨
int jbd2_journal_update_sb_log_tail (journal_t *journal , tid_t tail_tid
, unsigned long tail_block , blk_opf_t write_flags );
π ARGUMENTS π
journalβ the journal you're updating, bestie π literally the journal to updatetail_tidβ the TID of the new transaction at the tail of the log π¦ tail transaction TID, iykyktail_blockβ the first block of the transaction at the tail of the log π first block, no capwrite_flagsβ the flags for the journal sb write operation β¨ all the write-operation flags
π¦ DESCRIPTION π¦
so this one updates a journal's superblock information about the log tail, writes it to disk, and waits for the IO to complete π like it genuinely waits for the IO to finish β that's the whole vibe. update + write + wait, periodt π
πΈ SEE ALSO πΈ
the kernel file in question is ./fs/jbd2/journal.c, and here's the related-entries squad π«Ά:
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_mark_journal_empty(9)__jbd2_journal_erase(9)jbd2_journal_update_sb_errno(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)
okay bye bestie π source/version: ./fs/jbd2 Β· date: October 2026 Β· page: jbd2_journa..._sb_log_tail(9) π
π¦ 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