NVME_GET_LOG_ZNS_CHANGED_ZONES(2)

πŸ’– nvme_get_log_zns_changed_zones(2) πŸ’–

okay bestie, welcome to the libnvme API manual page for nvme_get_log_zns_changed_zones β€” yes that name is a whole mouthful, no we are not changing it, it's iconic actually 🫢


✨ NAME ✨

nvme_get_log_zns_changed_zones β€” Retrieve list of zones that have changed πŸ’…


🌸 SYNOPSIS 🌸

int nvme_get_log_zns_changed_zones (int fd , __u32 nsid , bool rae ,
       struct nvme_zns_changed_zone_log *log );

like. five things. four of them go in. one int comes out. that's the whole deal bestie ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • fd β€” File descriptor of nvme device πŸ”₯ this is your ticket in, your little handle on the drive
  • nsid β€” Namespace ID πŸ¦‹ which namespace we're talking about, pls don't guess
  • rae β€” Retain asynchronous events 🫢 the "keep the events, bestie" switch
  • log β€” User address to store the changed zone log πŸ’Ύ it's giving "here's where you put the answer"

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically πŸ₯Ί this one grabs you the list of zones that have changed state due to an exceptional event.

like β€” something happened to those zones. an exceptional event happened. and this call is the one that goes "okay so who changed" and hands you back the receipts. no cap. πŸ’€


πŸ’œ RETURN πŸ’œ

  • The nvme command status if a response was received β€” peep enum nvme_status_field for the whole menu of what that status could be πŸ‘‘
  • -1 with errno set β€” that's the "nope, it went sideways" path 😭 and yeah, errno is doing the explaining for you
fr fr: if you get that -1, go read errno before you go read anything else. she's the main character here. 🌈

🌟 SEE ALSO 🌟

no see-also section on this one bestie, this page is a standalone girlie πŸ’…


okay that's the whole page, you ate it, periodt πŸ’– this little love letter is from the libnvme API manual, dated July 2026 β€” go log some zones, you got this πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from