recover_local_statfs(9)
π recover_local_statfs(9) π
okay bestie, welcome to the Kernel API Manual entry for recover_local_statfs(9) β this one is lowkey all about keeping statfs changes in sync during recovery, and yes, it ate. β¨
πΈ NAME πΈ
recover_local_statfs β update the master and local statfs changes for this journal. that's the whole vibe. π
β¨ SYNOPSIS β¨
void recover_local_statfs (struct gfs2_jdesc *jd , struct
gfs2_log_header_host *head );
π ARGUMENTS π
jdβ the journal. πheadβ the journal head. π
π¦ DESCRIPTION π¦
okay so here's the lore, bestie. Previously, statfs updates would be read in from the local statfs inode and synced to the master statfs inode during recovery. that was the old way.
now? we use the statfs updates in the journal head to update the master statfs inode instead of reading in from the local statfs inode. iconic behavior, honestly. π
but plot twist: to preserve backward compatibility with kernels that can't do this, we still need to keep the local statfs inode up to date by writing changes to it. literally required. no cap. π₯
at some point in the future, we can do away with the local statfs inodes altogether and keep the statfs changes solely in the journal. future vibes. π
π RETURN π
the return value is errno. that's it. that's the return. π«Ά
π SEE ALSO π
Kernel file ./fs/gfs2/recovery.c: get_log_header(9), foreach_descriptor(9), clean_journal(9), update_statfs_inode(9).
π«Άπ that's the page, bestie! source/version:./fs/gfs2β’ date:October 2026β’recover_local_statfs(9)β bye, mwah πβ¨
π¦ 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