Ubuntu Manpages

nvme_identify_ns_granularity

Retrieves namespace granularity identification

int nvme_identify_ns_granularity (int fd , struct nvme_id_ns_granularity_list *gr_list );

File descriptor of nvme device
User space destination address to transfer the data

If the controller supports reporting of Namespace Granularity, then a Namespace Granularity List is returned to the host for up to sixteen namespace granularity descriptors

See struct nvme_id_ns_granularity_list for the definition of the returned structure.

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.