libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… libnvme(9) β€” the API manual, bestie edition

Okay so this page is from the API Manual (that's the manual name, slay) and it's literally all about one little enum. One. Iconic, honestly.


✨ NAME ✨

enum nvme_resv_cptpl β€” Reservation Register - Change Persist Through Power Loss State πŸŽ€

Like, yes, that's a whole mouthful. It's the enum that controls what happens to your reservations when the power goes bye πŸ’€.


🌸 SYNOPSIS 🌸

enum nvme_resv_cptpl {
    NVME_RESERVATION_CPTPL_NO_CHANGE ,
    NVME_RESERVATION_CPTPL_CLEAR ,
    NVME_RESERVATION_CPTPL_PERSIST

};

Three constants, no notes, we love a short synopsis 🫢 (and yes, the trailing comma-free blank line before the closing brace is exactly how it's written, don't come for me).


πŸ‘‘ Constants πŸ‘‘

So here's the vibe check on each one, fr fr:

  • NVME_RESERVATION_CPTPL_NO_CHANGE β€” literally no change to the PTPL state. Nothing happens. Zero drama. The "leave me alone, I'm fine" option πŸ™ˆ
  • NVME_RESERVATION_CPTPL_CLEAR β€” on a power on, reservations are released and registrants are cleared. So yeah, the power blips and everything gets wiped. It's giving "start of a new semester, fresh notebook" energy 😭
  • NVME_RESERVATION_CPTPL_PERSIST β€” reservations and registrants persist across a power loss. Unbothered. Unmoved. Main character energy that survives the blackout πŸ”₯πŸ‘‘

ngl, three options, that's the whole page. Short king of a manpage.

That's it, that's the page, bestie πŸ’– β€” this was enum nvme_resv_cptpl from the libnvme(9) API manual, dated October 2026. Go forth and persist (or don't, your call, NO_CHANGE is valid too) πŸ¦‹

πŸ“¦ where this page comes from