statfs_slow_fill(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… statfs_slow_fill(9) πŸ’…

okay so bestie, welcome to the statfs_slow_fill page β€” that's the kernel API name, and yes it's a mouthful, but stay with me because this one is short and honestly kind of a vibe ✨


🌸 NAME 🌸

statfs_slow_fill β€” fill in the sg for a given RG 🫢

like, that's the whole thing. it fills in the sg, for an RG. iconic, brief, no notes πŸ’…


✨ SYNOPSIS ✨

int statfs_slow_fill (struct gfs2_rgrpd *rgd , struct
gfs2_statfs_change_host *sc );

look at that signature, it's giving function. it returns an int, it takes two pointers, and it is literally right there in ./fs/gfs2/super.c (iykyk, more on that below) 🌈


πŸŽ€ ARGUMENTS πŸŽ€

  • rgd β€” the RG. that's it, that's the description. it's the RG bestie, we're not gonna over-explain it πŸ’€
  • sc β€” the sc structure. yes, the sc structure. the structure named sc. we love a self-explanatory abbreviation πŸ“

πŸ’– RETURN πŸ’–

  • 0 β€” success! slay! everything went off without a hitch πŸ‘‘
  • -ESTALE β€” happens if the LVB is invalid. so if you get this one back, it's a stale-vibe situation, no cap 😭

πŸ¦‹ SEE ALSO πŸ¦‹

first up, the kernel file itself, because that's where the magic lives: ./fs/gfs2/super.c 🧚 and then a whole friend group of related functions, all of them (9) because we're in kernel-api-manual territory:

the way that's a whole squad 😀 go read them, they're all literally right there 🫢


lowkey reminder: statfs_slow_fill is not one of the gfs2_-prefixed besties, so don't go looking for gfs2_statfs_slow_fill(9) β€” that's not a thing, don't do that to yourself πŸ™ˆ

and that's the page!! shoutout to the source <pink>./fs/gfs2</pink> and to October 2026 (the date, yes, the whole month, she's timestamped), all wrapped up under statfs_slow_fill(9) β€” mwah, go fill some sgs bestie πŸ’œπŸŽ€πŸ’…

πŸ“¦ where this page comes from