gfs2_page_mkwrite(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ gfs2_page_mkwrite(9) πŸ¦‹

okay so this is a page from the Kernel API Manual, section 9 (iykyk), and it's literally all about gfs2_page_mkwrite β€” bestie, come sit with me πŸ’…


✨ NAME ✨

gfs2_page_mkwrite β€” make a shared, mmap()ed, page writable 🫢


🌸 SYNOPSIS 🌸

vm_fault_t gfs2_page_mkwrite (struct vm_fault *vmf );

like, that's the whole signature, no cap ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • vmf β€” the virtual memory fault that's carrying the page we want to make writable. like, the page is in there, she's just waiting for her moment πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

so when the page becomes writable, we've got to make sure we actually have blocks allocated on disk to back that page. periodt. no blocks on disk = no vibe, and we do not do that here πŸ’€

(don't skip this step, it's giving "homework you can't skip" πŸ™ˆ)


πŸ”₯ SEE ALSO πŸ”₯

the kernel file is ./fs/gfs2/file.c, and honestly the whole friend group shows up here:

like, the whole squad, iconic ⭐🌈


aaand that's the page!! mwah πŸ’‹ it comes to you from ./fs/gfs2, dated October 2026, and yes she's still out here living her best life as gfs2_page_mkwrite(9) πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from