• Chaitanya Kulkarni's avatar
    nvmet: add passthru admin timeout value attr · a2f6a2b8
    Chaitanya Kulkarni authored
    NVMeOF controller in the passsthru mode is capable of handling wide set
    of admin commands including vender specific passhtru admin comands.
    
    The vendor specific admin 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:admin_timeout).
    
    Add a configfs attribute so that user can set the admin timeout values.
    In case if this configfs value is not set nvme_alloc_request() will set
    the ADMIN_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>
    a2f6a2b8
passthru.c 15.2 KB