[PATCH V6 3/5] nvmet: add passthru io timeout value attr

Sagi Grimberg sagi at grimberg.me
Wed Nov 4 17:13:57 EST 2020



On 11/4/20 12:37 PM, Chaitanya Kulkarni wrote:
> NVMe controller in the passsthru mode is capable of handling wide set
> of admin commands including Vender unique passhtru I/O comands
> (VUICs).
> 
> The VUICs can take longer than default NVMe commands, that is for
> passthru requests the timeout value may differ from the passthru
> controller's default timeout values (nvme-core:io_timeout).
> 
> Add a configfs attribute so that user can set the io timeout values.
> In case if this configfs value is not set nvme_alloc_request() will set
> use the NVME_IO_TIMEOUT value.
> 
> This attribute setting is only allowed when ctrl is disable to avoid
> rcu calls in the fast path, in future when needed we can always make it
> fast path friendly using RCU.

Same question



More information about the Linux-nvme mailing list