• K
    NVMe: Start all requests · c917dfe5
    Keith Busch 提交于
    Once the nvme callback is set for a request, the driver can start it
    and make it available for timeout handling. For timed out commands on a
    device that is not initialized, this fixes potential deadlocks that can
    occur on startup and shutdown when a device is unresponsive since they
    can now be cancelled.
    
    Asynchronous requests do not have any expected timeout, so these are
    using the new "REQ_NO_TIMEOUT" request flags.
    Signed-off-by: NKeith Busch <keith.busch@intel.com>
    Signed-off-by: NJens Axboe <axboe@fb.com>
    c917dfe5
nvme-core.c 71.4 KB