nvme_init_get_features_rrl(9)
β¨ nvme_init_get_features_rrl β¨
okay so bestie, welcome to the libnvme API manual π
this one's a little one-pager about nvme_init_get_features_rrl and honestly? she's short, she's sweet, she slays. let's get into it π«Ά
πΈ NAME πΈ
nvme_init_get_features_rrl β initialize the passthru command for Get Features - Read Recovery Level β¨
like, she sets up your command buffer so it's ready to go ask a device "hey bestie, what's your Read Recovery Level?" π
π SYNOPSIS π
void nvme_init_get_features_rrl (struct libnvme_passthru_cmd *cmd , enum
nvme_get_features_sel sel );
no return value, she's a void girlie, she just does the thing and dips π
π¦ ARGUMENTS π¦
cmdβ the passthru command you're gonna use π«Ά this is the buffer she's initializing, so hand her your command struct and she'll do her little magic on it.selβ which type of attribute to return, fr fr. it's aenum nvme_get_features_sel, so go peek at that enum if you wanna know your options. iykyk β¨
π DESCRIPTION π
so what does she actually do? she initializes the passthru command buffer for the Get Features command, and she sets the FID value to NVME_FEAT_FID_RRL π
that's it. that's the whole vibe. main character energy in like four lines of C ππ
ngl this is a "just call it and move on" situation β no gotchas hiding in here, she's literally just prepping your command buffer π
π the cute sign-off π
and that's the whole page bestie!! this lil cutie lives in the libnvme API manual, dated October 2026 β go forth and initialize those passthru commands, you absolute icon πππ
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms