nvme_mi_mi_subsystem_health_status_poll(2)

nvme_mi_mi_subsystem_health_status_poll2

Read the subsystem health data structure from the nvm subsystem

Usage

int nvme_mi_mi_subsystem_health_status_poll (nvme_mi_ep_t ep , bool clear , struct nvme_mi_nvm_ss_health_status *nshds );

Arguments

ep

endpoint for MI communication

clear

flag to clear the Composite Controller Status state

nshds

subsystem health status data to populate

Overview

Retrieves the Subsystem Health Data Structure into nshds. If clear is set, requests that the Composite Controller Status bits are cleared after the read. See NVMe-MI section 5.6 for details on the CCS bits.

See struct nvme_mi_nvm_ss_health_status.

Return

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

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From libnvme-dev 1.13-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.