sb_start_intwrite(9)
πΈ NAME πΈ
okay so this is sb_start_intwrite(9), straight from the Kernel API Manual π Its whole job? get write access to a superblock for internal fs purposes. That's it, that's the iconic behavior β¨
β¨ SYNOPSIS β¨
void sb_start_intwrite (struct super_block *sb );
π ARGUMENTS π
sbβ the super we write to π«Ά
π¦ DESCRIPTION π¦
This is the third level of protection against filesystem freezing, no cap. It's free for use by a filesystem. The only requirement, bestie, is that it must rank below sb_start_pagefault β that's the rule π
For example, a filesystem can call sb_start_intwrite when starting a transaction. That somewhat eases handling of freezing for internal sources of filesystem changes β say, internal fs threads, discarding preallocation on file close, etc. π₯
π SEE ALSO π
- Kernel file
./include/linux/fs/super.h __sb_write_started(9)sb_write_started(9)sb_write_not_started(9)sb_end_write(9)sb_end_pagefault(9)sb_end_intwrite(9)sb_start_write(9)sb_start_pagefault(9)
cute sign-off: source/version is ./include/linux/fs, date is October 2026, and this page is sb_start_intwrite(9). stay slay, kernel 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