nvdimm_has_flush(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to nvdimm_has_flush(9) from the Kernel API Manual β€” yes, that manual, and yes, we’re doing this. πŸ’– It’s giving kernel-region realness, and the vibe check is all about write flushing requirements. 🫢

🌸 NAME 🌸

nvdimm_has_flush β€” determine write flushing requirements. periodt. πŸ’…

✨ SYNOPSIS ✨

int nvdimm_has_flush (struct nd_region *nd_region );

That’s the whole signature, bestie β€” copy it exactly, no creative editing. πŸŽ€

πŸ¦‹ ARGUMENTS πŸ¦‹

  • nd_region β€” interleaved pmem region. that’s the one and only argument, and yes she’s iconic. ✨

πŸ”₯ DESCRIPTION πŸ”₯

Okay so here’s the tea, fr fr:

  • Returns 1 if writes require flushing. πŸ”₯
  • Returns 0 if writes do not require flushing. ✨
  • Returns -ENXIO if flushing capability can not be determined. 😭

No cap, that’s the whole return-value situation. 🫢

πŸ’œ SEE ALSO πŸ’œ

the whole friend group, all present and accounted for:


mwah πŸ’‹ β€” source/version: ./drivers/nvdimm, date: October 2026, from the Kernel API Manual. bye bestie! πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from