NVME_SET_FEATURES_IOCS_PROFILE(2)
β¨ NAME β¨
nvme_set_features_iocs_profile β okay bestie, this one sets the I/O command set profile feature π
(yes, the manual name is nvme_set_features_iocs_profile(2) from the libnvme API manual, and it's giving very "queue up the NVMe vibes" energy, we love that for us).
π SYNOPSIS π
int nvme_set_features_iocs_profile (int fd , __u16 iocsi , bool save );
That's the whole signature, no cap. Three little args and it's off to the races π¦
πΈ ARGUMENTS πΈ
fdβ the file descriptor of the nvme device, aka your lil all-access pass to the drive π«Άiocsiβ the I/O Command Set Combination Index. That's the index, bestie, the actual number-of-the-thing πsaveβ whether to save the value across power states, so it survives the lights going out πβ¨ (true= it remembers,false= it's a short-term memory girlie)
π RETURN π
So here's what you get back:
- the nvme command status if a response was received β see
enum nvme_status_fieldfor what that status is actually saying π - or
-1witherrnoset otherwise
fr fr, check thaterrnowhen you see the-1β it's not being mysterious on purpose, it's telling you exactly what went wrong π
no SEE ALSO section on this one, we're keeping it short and iconic, periodt π
and that's the whole page, bestie π This cutie lives in the libnvme API manual, dated July 2026 β tysm for reading, ily, go set some features responsibly ππ¦β¨
π¦ 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