gfs2_sync_fs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… gfs2_sync_fs(9) β€” like, the whole Kernel API Manual vibe ✨

okay so bestie, welcome to gfs2_sync_fs(9) from the Kernel API Manual β€” yes it's a real manual page and yes it's lowkey iconic πŸŽ€


🌸 NAME 🌸

gfs2_sync_fs β€” sync the filesystem, that's it, that's the whole job πŸ’–


✨ SYNOPSIS ✨

int gfs2_sync_fs (struct super_block *sb , int wait );

like, copy it exactly, don't @ me 😭


πŸ¦‹ ARGUMENTS πŸ¦‹

  • sb β€” the superblock, the main character of this whole situation πŸ‘‘
  • wait β€” true if you literally want to wait for completion, no cap ⏳

πŸ’œ DESCRIPTION πŸ’œ

Flushes the log to disk. periodt. it's giving "just do the thing and do it well" and honestly? obsessed 🫢


🌈 SEE ALSO 🌈

the kernel file ./fs/gfs2/super.c is right there, bestie, go read it πŸ‘€ and also these iconic functions, in this exact order, no skips fr fr:


ngl there are a lot of them but that's the list, every single one, iykyk πŸ’€

and that's the tea β˜• this page lives in ./fs/gfs2 and it's dated October 2026 β€” slay, see u then bestie πŸ§šβ€β™€οΈπŸ’–πŸŽ€

πŸ“¦ where this page comes from