nvme_identify_ns_granularity
Retrieves namespace granularity identification
- Provided by: libnvme-dev (Version: 1.8-3ubuntu1)
- Source: libnvme
- Report a bug
Retrieves namespace granularity identification
int nvme_identify_ns_granularity (int fd , struct nvme_id_ns_granularity_list *gr_list );
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.