PROBE::NFS.AOP.W(3stap)
π probe::nfs.aop.write_begin β bestie's guide to the NFS write-begin probe π
okay so real talk, this is a page straight out of the Network File Storage Tapsets manual (section 3stap, for the record β tapping that stap life β¨). buckle up, we're reading a manpage and we're gonna enjoy it π
β¨ NAME β¨
probe::nfs.aop.write_begin β NFS client begin to write data
no cap, that's the whole name. the NFS client is starting a write. it's giving "first day of school" energy π
πΈ SYNOPSIS πΈ
probe nfs.aop.write_begin {}
that's it. that's the probe. no arguments, no drama, just vibes. she's a simple girl and she slays π«Ά
π¦ VALUES π¦
these are the fancy little variables you get to peek at inside the probe. obsessed with her honestly:
page_indexβ the offset within the mapping. you can use it as a page identifier and as a position identifier in the page frame. two jobs, one queen πinoβ the inode number. it's giving "who dis" but for files πsizeβ the write bytes. how much are we writing, bestie? π__pageβ the address of the page. literally where she lives πtoβ the end address of this write operation πoffsetβ the start address of this write operation πdevβ the device identifier. like a little name tag for the device π·οΈ
π DESCRIPTION π
okay so here's the tea β β this probe fires when a write operation occurs on nfs.
what happens is she prepares a page for writing, and she looks for a request corresponding to that page. now, if there is one, and it belongs to another file, she flushes it out before she even tries to copy anything into the page. the way she handles that π she's so thorough.
and she does the same thing if she finds a request from an existing dropped page. dropped page? flushed. periodt π
π SEE ALSO π
go read that one next, iykyk π
and that's the whole page bestie, you ate that π this was the SystemTap Tapset Reference, and the date on this lil masterpiece is September 2026. go forth and probe responsibly, my main character π₯ππ
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms