libnvme(2)
π libnvme(2) β API Manual π
okay bestie, sit down, hydrate, and let me tell you about a lil enum from libnvme's API. yes this is man page number 2 in section 2 of the libnvme manual, and yes it's about storage reservations, and yes it's gonna be cute. this one is enum nvme_resv_cptpl</bold> β Reservation Register - Change Persist Through Power Loss State β¨
πΈ NAME πΈ
enum nvme_resv_cptpl β Reservation Register - Change Persist Through Power Loss State π
like. that's the whole name. it's giving "my reservations survive a power cycle??" β¨
π¦ SYNOPSIS π¦
enum nvme_resv_cptpl {
NVME_RESERVATION_CPTPL_NO_CHANGE ,
NVME_RESERVATION_CPTPL_CLEAR ,
NVME_RESERVATION_CPTPL_PERSIST
};
ikr, three whole constants, we are FED π
β¨ Constants β¨
slay, here's the lineup. one bullet per constant, no skips, no cap π
NVME_RESERVATION_CPTPL_NO_CHANGEβ literally nothing happens. no change to PTPL state. it's the "leave me alone i'm fine" option πNVME_RESERVATION_CPTPL_CLEARβ okay so on a power on: reservations are released and registrants are cleared. it's a full lil reset, everything goes bye-bye πNVME_RESERVATION_CPTPL_PERSISTβ the main character option π reservations and registrants persist across a power loss. they stay. they're iconic. they refuse to leave the group chat π«Ά
ngl bestie, this enum is the one you set when you're registering a reservation and you need to tell the controller what should happen to your PTPL state.NO_CHANGE= chill,CLEAR= wipe it on power on,PERSIST= it survives, periodt. pick wisely, the vibes are load-bearing π
π SEE ALSO π
no see-also refs on this one bestie, it's a standalone queen β go read the rest of the libnvme API instead, iykyk πΈ
kisses, this was enum nvme_resv_cptpl from the libnvme API Manual, section 2, dated July 2026. go forth and reserve responsibly, bestie πππ¦π
π¦ 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