foreach_descriptor(9)
π NAME π
foreach_descriptor β go through the active part of the log β¨
okay bestie, this page is foreach_descriptor(9) from the Kernel API Manual, and it's lowkey iconic for doing exactly what the name says: getting you through the active part of the log. π«Ά
β¨ SYNOPSIS β¨
int foreach_descriptor (struct gfs2_jdesc *jd , u32 start , unsigned int
end , int pass );
π ARGUMENTS π
jdβ the journal πstartβ the first log header in the active region β¨endβ the last log header β and bestie, don't process the contents of this entry (the original page is literally serving double))energy, so respect the boundary) πpassβ iteration number (foreach_descriptoris called in aforloop) π
π¦ DESCRIPTION π¦
The whole assignment: call a given function once for every log descriptor in the active portion of the log. That's it, that's the main character move. π
πΈ RETURN πΈ
errno β periodt. π
π SEE ALSO π
- Kernel file
./fs/gfs2/recovery.c get_log_header(9)clean_journal(9)update_statfs_inode(9)recover_local_statfs(9)
mwah π this little page comes from ./fs/gfs2, dated October 2026, and it's still out here being foreach_descriptor(9) at the very end β no cap, slay. ππ
π¦ 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