jbd2_journal...sed_features(9)
π jbd2_journal...sed_features(9) β Kernel API Manual π
okay bestie, welcome to the kernel API manual, this one's the jbd2_journal...sed_features(9) page and honestly it's a lil cutie β one function, checks some bits, slays, goes home. no cap. let's get into it β¨
β¨ NAME β¨
jbd2_journal_check_used_features β check if features specified are used. literally that's the whole gig π«Ά
πΈ SYNOPSIS πΈ
int jbd2_journal_check_used_features (journal_t *journal , unsigned long
compat , unsigned long ro , unsigned long incompat );
she takes a journal and three bitmasks and returns an int, periodt π
π¦ ARGUMENTS π¦
journalβ the journal to check. the main character of this whole operation πcompatβ bitmask of compatible features. the chill ones πroβ bitmask of features that force read-only mount. the ones that make everything go read-only, so, important πincompatβ bitmask of incompatible features. the spicy ones π₯
π§ DESCRIPTION π§
so here's the vibe: you hand her a set of features, and she checks whether the journal uses all of them. all. every single one. no partial credit, bestie π
if it does use all of them, she returns true (non-zero). that's it, that's the function. iconic behavior honestly β
ngl it's giving "quick bitmask check" energy and we love that for her. tiny function, big purpose. π₯
π SEE ALSO π
kernel file ./fs/jbd2/journal.c β and yes, the whole friend group is here, look at this roster π«Ά:
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_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)
so yeah, that's the page π sourced from ./fs/jbd2, dated October 2026, and filed under jbd2_journal...sed_features(9). go read the whole jbd2 saga, it's lowkey a whole universe π mwah, ily, bye πβ¨
π¦ 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