gfs2_sync_fs(9)
π 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βtrueif 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:
gfs2_jindex_free(9)gfs2_make_fs_rw(9)gfs2_lock_fs_check_clean(9)gfs2_write_inode(9)gfs2_dirty_inode(9)gfs2_make_fs_ro(9)gfs2_put_super(9)gfs2_freeze_super(9)gfs2_thaw_super(9)statfs_slow_fill(9)gfs2_statfs_slow(9)gfs2_statfs_i(9)gfs2_statfs(9)gfs2_drop_inode(9)gfs2_show_options(9)gfs2_glock_put_eventually(9)evict_should_delete(9)evict_unlinked_inode(9)gfs2_evict_inode(9)
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
- 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