libnvme(2)
π libnvme β section 2 π
okay bestie, sit DOWN, because we're doing libnvme(2) today and the page is literally called enum nvme_io_dsm_flags β aka Dataset Management flags. it's giving "the little label stickers you slap on a chunk of a drive so it knows how you're gonna use it" πβ¨
πΈ NAME πΈ
enum nvme_io_dsm_flags β Dataset Management flags
no cap, that's the whole name. short, sweet, iconic. π
β¨ SYNOPSIS β¨
enum nvme_io_dsm_flags {
NVME_IO_DSM_FREQ_UNSPEC ,
NVME_IO_DSM_FREQ_TYPICAL ,
NVME_IO_DSM_FREQ_RARE ,
NVME_IO_DSM_FREQ_READS ,
NVME_IO_DSM_FREQ_WRITES ,
NVME_IO_DSM_FREQ_RW ,
NVME_IO_DSM_FREQ_ONCE ,
NVME_IO_DSM_FREQ_PREFETCH ,
NVME_IO_DSM_FREQ_TEMP ,
NVME_IO_DSM_LATENCY_NONE ,
NVME_IO_DSM_LATENCY_IDLE ,
NVME_IO_DSM_LATENCY_NORM ,
NVME_IO_DSM_LATENCY_LOW ,
NVME_IO_DSM_SEQ_REQ ,
NVME_IO_DSM_COMPRESSED
};
fifteen constants. count 'em. go ahead, I'll wait π«Ά (yes there's a lil blank line and a stray space before that closing brace in the original, and I am not touching it β respect the source, periodt.)
π Constants π
these are the whole point of the page, so let's go one by one, main character energy only π
NVME_IO_DSM_FREQ_UNSPECβ you gave us no frequency info. nothing. zero. the void. πNVME_IO_DSM_FREQ_TYPICALβ the typical amount of reads and writes you'd expect for this LBA range. the standard vibe, the default energy.NVME_IO_DSM_FREQ_RAREβ infrequent writes and infrequent reads to the LBA range indicated. it's giving "nobody ever visits this address" π¦NVME_IO_DSM_FREQ_READSβ infrequent writes, but frequent reads to the LBA range indicated. so: rarely written, constantly read. a read-only legend β¨NVME_IO_DSM_FREQ_WRITESβ frequent writes, but infrequent reads to the LBA range indicated. all writes, no reads, lowkey kind of a mood πNVME_IO_DSM_FREQ_RWβ frequent writes and frequent reads to the LBA range indicated. both. at once. absolute icon behavior π₯NVME_IO_DSM_FREQ_ONCEβ no description in this page, bestie, and I refuse to invent one, so I'm just gonna hold it up like a lil trophy πNVME_IO_DSM_FREQ_PREFETCHβ same situation: it exists, the manpage says nothing about it, and we do not speculate. nope. not today. πNVME_IO_DSM_FREQ_TEMPβ also just vibing here with no description πNVME_IO_DSM_LATENCY_NONEβ no latency information provided. nada. zilch. πNVME_IO_DSM_LATENCY_IDLEβ longer latency is acceptable. take your time, queen, no rush πΈNVME_IO_DSM_LATENCY_NORMβ typical latency. the middle of the road. average. balance. πNVME_IO_DSM_LATENCY_LOWβ the smallest possible latency. go fast, go now, no waiting π€NVME_IO_DSM_SEQ_REQβ again, no description on the page. it's a mystery and I'm respecting it π§NVME_IO_DSM_COMPRESSEDβ and this one also comes with zero description. iconic and unexplained π
fr fr: five of these constants βNVME_IO_DSM_FREQ_ONCE,NVME_IO_DSM_FREQ_PREFETCH,NVME_IO_DSM_FREQ_TEMP,NVME_IO_DSM_SEQ_REQandNVME_IO_DSM_COMPRESSEDβ have no description text in the original page, so there is genuinely nothing more to tell you about them here. no invented lore, iykyk π«Ά
and that's the whole page, bestie!! that was libnvme(2), titled enum nvme_io_dsm_flags, straight out of July 2026 β so go forth, tag your datasets, and stan a well-labelled LBA range πβ¨π¦ππ
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms