• Chaitanya Kulkarni's avatar
    nvmet: add passthru io timeout value attr · 47e9730c
    Chaitanya Kulkarni authored
    NVMeOF controller in the passsthru mode is capable of handling wide set
    of I/O commands including vender specific passhtru io comands.
    
    The vendor specific I/O commands are used to read the large drive
    logs and can take longer than default NVMe commands, i.e. 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
    the NVME_IO_TIMEOUT value when request queuedata is NULL.
    Signed-off-by: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    47e9730c
configfs.c 39.9 KB