NAME
libnvme_transport_handle_set_timeout - Set the default command timeout
SYNOPSIS
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).
DESCRIPTION
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.