sb_start_intwrite(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 πŸ’œ


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