NVME_GET_FEATURES_RESV_PERSIST(2)
β¨ nvme_get_features_resv_persist β¨
okay bestie, so this one lives in the libnvme API manual (section 2, if you're keeping score π) β it's literally the function nvme_get_features_resv_persist, and we're gonna get you all the way together on it. no cap.
π NAME π
nvme_get_features_resv_persist β Get reservation persist feature π¦
πΈ SYNOPSIS πΈ
int nvme_get_features_resv_persist (int fd , enum nvme_get_features_sel
sel , __u32 *result );
π ARGUMENTS π
fdβ the file descriptor of your nvme device. it's giving "your ticket in" πselβ which type of attribute you want back, seeenum nvme_get_features_sel. bestie you gotta pick one, no vibes-only answers πresultβ the command completion result, straight from CQE dword0 β¨
π DESCRIPTION π
Deprecated: it doesn't support specifying a NSID. use nvme_get_features_resv_persist2 instead. π
like, she served her time, she's iconic, but she's retired. the way that this one can't take an NSID? that's why her successor ate. π«Ά
π₯ RETURN π₯
it hands you the nvme command status if a response was received (peep enum nvme_status_field for the whole menu) β or -1 with errno set if it wasn't. so basically: real answer, or a -1 plus an errno tellin' you what went wrong. periodt. π
mwah π sending you off with love β this page came from the libnvme API manual, dated July 2026. go forth and nvme_get_features_resv_persist2 instead, iykyk β¨π
π¦ 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