nvdimm_has_flush(9)
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
1if writes require flushing. π₯ - Returns
0if writes do not require flushing. β¨ - Returns
-ENXIOif 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:
- Kernel file
./drivers/nvdimm/region_devs.c nd_region_to_nstype(9)nd_region_acquire_lane(9)generic_nvdimm_flush(9)
mwah π β source/version: ./drivers/nvdimm, date: October 2026, from the Kernel API Manual. bye bestie! ππ
π¦ 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