nvme_flush - Man Page

Send an nvme flush command

Synopsis

int nvme_flush (int fd , __u32 nsid );

Arguments

fd

File descriptor of nvme device

nsid

Namespace identifier

Description

The Flush command requests that the contents of volatile write cache be made non-volatile.

Return

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

Info

November 2024 libnvme API manual