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.