fs_bdev_thaw(9)
π
fs_bdev_thaw(9) π
hey bestie!! welcome to the fs_bdev_thaw(9) page from the Kernel API Manual β¨ this one is short and sweet, and it's giving βthaw the block-device superblocksβ energy.
πΈ NAME πΈ
fs_bdev_thawβ thaw every superblock using a block device π
β¨ SYNOPSIS β¨
int fs_bdev_thaw (struct block_device *bdev );
π ARGUMENTS π
bdevβ block device π§
π¦ DESCRIPTION π¦
okay so fs_bdev_thaw is the counterpart to fs_bdev_freeze π«Ά its whole vibe is: thaw each live superblock using bdev.
A zero return does not imply a superblock is fully unfrozen β it may have been frozen more than once (by the kernel or via another device). no cap, that's the important caveat π
π RETURN π
0, or the first error on a single-fs device; a shared device swallows per-superblock errors, as fs_bdev_freeze does. π
π SEE ALSO π
Kernel file: ./fs/super.c π¦ peep the whole squad:
super_lock(9)alloc_super(9)deactivate_locked_super(9)deactivate_super(9)grab_super(9)retire_super(9)generic_shutdown_super(9)sget_fc(9)iterate_supers_type(9)reconfigure_super(9)emergency_thaw_all(9)get_anon_bdev(9)sget_dev(9)fs_bdev_freeze(9)fs_bdev_file_open_by_dev(9)fs_bdev_file_open_by_path(9)fs_bdev_unregister(9)fs_bdev_file_release(9)get_tree_bdev_flags(9)get_tree_bdev(9)vfs_get_tree(9)sb_wait_write(9)freeze_super(9)thaw_super(9)
mwah π β this one's from ./fs, dated October 2026; periodt. π«Άπ
π¦ 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