jbd2_journal_set_features(9)
π« jbd2_journal_set_features(9) π«
okay so bestie, welcome to the kernel API manual β¨ today's main character is jbd2_journal_set_features β and yes she lives in the Kernel API Manual, that's her whole address, iykyk π
πΈ NAME πΈ
jbd2_journal_set_features β bestie, this one literally marks a given journal feature in the superblock π
β¨ SYNOPSIS β¨
int jbd2_journal_set_features (journal_t *journal , unsigned long compat , unsigned long ro , unsigned long incompat );
like, that's the whole summoning circle π―οΈ no cap
π«Ά ARGUMENTS π«Ά
journalβ the journal we're acting on, aka the girl we're doing all this for πcompatβ a bitmask of compatible features, so they're the chill, low-stakes ones πroβ a bitmask of features that force a read-only mount, so yeah, these ones are giving consequences πincompatβ a bitmask of incompatible features, and the name is literally right there bestie π
π¦ DESCRIPTION π¦
So what she does is mark a given journal feature as present on the superblock β¨ that's it, that's the vibe.
She returns true if the requested features could be set π like, she'll tell you honestly whether it worked out. no cap, no games.
π₯ SEE ALSO π₯
Kernel file ./fs/jbd2/journal.c β go read her, she's iconic π§
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_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_flush(9)jbd2_journal_wipe(9)jbd2_journal_abort(9)jbd2_journal_errno(9)jbd2_journal_clear_err(9)jbd2_journal_ack_err(9)
mwah π that's the whole page! this little gem comes from ./fs/jbd2, dated October 2026 β so go be the main character of your own filesystem, slay π¦πβ
periodt. π
π¦ 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