jbd2_journal_init_inode(9)
hey bestie π welcome to jbd2_journal_init_inode(9), straight from the Kernel API Manual. this oneβs short and sweet, and yes itβs giving kernel journal internals main character energy β¨
πΈ NAME πΈ
jbd2_journal_init_inode β creates a journal which maps to a inode. π
β¨ SYNOPSIS β¨
journal_t * jbd2_journal_init_inode (struct inode *inode );
thatβs the whole signature, no cap π
π ARGUMENTS π
inodeβ an inode to create the journal in. thatβs the one and only argument, bestie π«Ά
π« DESCRIPTION π«
okay so hereβs the tea: jbd2_journal_init_inode creates a journal which maps an on-disk inode as the journal. The inode must exist already, must support bmap, and must have all data blocks preallocated β those are the rules, bestie, no skipping them ππ₯
π SEE ALSO π
peep the kernel file and these related icons:
- Kernel file:
./fs/jbd2/journal.c 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_update_sb_log_tail(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)
xoxo, your jbd2 bestie π«Ά β this page came from ./fs/jbd2, dated October 2026, and itβs jbd2_journal_init_inode(9) in the Kernel API Manual π
π¦ 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