jbd2_journa..._sb_log_tail(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 update
  • tail_tid β€” the TID of the new transaction at the tail of the log πŸ¦‹ tail transaction TID, iykyk
  • tail_block β€” the first block of the transaction at the tail of the log πŸŽ€ first block, no cap
  • write_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 🫢:


okay bye bestie πŸ’– source/version: ./fs/jbd2 Β· date: October 2026 Β· page: jbd2_journa..._sb_log_tail(9) πŸŽ€

πŸ“¦ where this page comes from