libnvme_transport_handle_set_timeout-libnvme3(2)

libnvme_transport_handle_set_timeout-libnvme32

Set the default command timeout

Usage

void libnvme_transport_handle_set_timeout (struct libnvme_transport_handle *hdl , __u32 timeout_ms );

Arguments

hdl

Transport handle to configure

timeout_ms

Timeout in milliseconds. A value of 0 means use the kernel default (NVME_DEFAULT_IOCTL_TIMEOUT).

Overview

Sets a default timeout that is applied to every passthrough command submitted through hdl when the command's own timeout_ms field is 0. Commands that set a non-zero timeout_ms override this default.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.