gfs2_freeze_super(9)
π gfs2_freeze_super(9) π
okay so welcome to the kernel API manual, bestie β this one lives in section 9 and it's all about gfs2_freeze_super, which is literally the function that stops the filesystem from writing anything else. no cap. π§
β¨ NAME β¨
gfs2_freeze_super β prevent further writes to the filesystem
like, it puts your fs on pause. the vibe check is: no more writes, periodt. π
πΈ SYNOPSIS πΈ
int gfs2_freeze_super (struct super_block *sb , enum freeze_holder who ,
const void *freeze_owner );
that's the whole signature, character for character, don't @ me π«Ά
π ARGUMENTS π
sbβ the VFS structure for the filesystem. this is the main character right here, the super_block itself πwhoβ freeze flags. yes it's anenum freeze_holder, yes the name is giving "who even is doing this freeze", and honestly same πfreeze_ownerβ owner of the freeze. it's aconst void *, so it's just vibing as an opaque pointer to whoever owns this whole situation β¨
π¦ SEE ALSO π¦
kernel file ./fs/gfs2/super.c β that's where the source lives, go peek if you're nosy (respectfully) π
and the whole friend group of related functions, all of them, in order, no skips:
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_sync_fs(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 that's a whole squad and they all ate π₯
friendly reminder bestie: freeze means prevent further writes to the filesystem. that is the entire personality of this function. iykyk π
mwah π that's the page! source path is ./fs/gfs2, dated October 2026 β so go forth, freeze responsibly, and 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