vfs_fsync(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, this is vfs_fsync(9) from the Kernel API Manual, and its whole thing is: perform a fsync or fdatasync on a file. no cap πŸ’…

✨ SYNOPSIS ✨

int vfs_fsync (struct file *file , int datasync );

it’s giving β€œsmall signature, big disk energy” fr fr 🫢

πŸŽ€ ARGUMENTS πŸŽ€

  • file β€” the file to sync. main character behavior, honestly.
  • datasync β€” only perform a fdatasync operation. that’s literally the whole vibe of this argument.

πŸ¦‹ DESCRIPTION πŸ¦‹

So vfs_fsync writes back data and metadata for file to disk. If datasync is set, it only writes the metadata needed to access modified file data. that’s the tea β˜•βœ¨

πŸ‘‘ SEE ALSO πŸ‘‘


and that’s the page, bestie πŸŽ€ big cute sign-off: this one comes from source/version ./fs, dated October 2026. mwah πŸ’–βœ¨

πŸ“¦ where this page comes from