netfs_singl..._inode_dirty(9)
β¨ netfs_single_mark_inode_dirty(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a lil function from the netfs world, and honestly? she's short, she's sweet, she does exactly one thing and she does it slayfully. let's get into it π
πΈ NAME πΈ
netfs_single_mark_inode_dirty β marks a single, monolithic object inode as dirty π₯
no cap, that's the whole vibe. one inode, one monolithic object, one little dirty flag. iconic.
π¦ SYNOPSIS π¦
void netfs_single_mark_inode_dirty (struct inode *inode );
that's it. that's the signature. returns void, takes one pointer, zero drama π
π ARGUMENTS π
inodeβ the inode you're marking, bestie. the one. the main character π
π DESCRIPTION π
so here's the tea β β you call this bad girl on an inode that contains a single, monolithic object, and she marks it as dirty so that its writepages op will get called. that's the whole point. that's her job. she ate and left no crumbs π
and listen, there's this flag called SINGLE_NO_UPLOAD β if it's set, it means the object is only gonna be written to the cache and not uploaded anywhere. the manpage literally gives you the example: AFS directory contents πβ¨ so like, cache-only behaviour, no shipping it off to the server, iykyk.
fr fr, don't forget: the flag has to be set for that cache-only behaviour to kick in. if it's not set, that's a whole different story and we're not telling it here π«Ά
π SEE ALSO π
- Kernel file
./fs/netfs/read_single.cπ netfs_read_single(9)π β go read the sibling page, she's also great
and that's the whole page, bestie!! π§π huge shoutout to the source tree ./fs/netfs and the date stamp October 2026 β that's where this lil beauty lives, mwah πβ
π¦ 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