• Keith Busch's avatar
    NVMe: Fix potential corruption on sync commands · 0c0f9b95
    Keith Busch authored
    This makes all sync commands uninterruptible and schedules without timeout
    so the controller either has to post a completion or the timeout recovery
    fails the command. This fixes potential memory or data corruption from
    a command timing out too early or woken by a signal. Previously any DMA
    buffers mapped for that command would have been released even though we
    don't know what the controller is planning to do with those addresses.
    Signed-off-by: default avatarKeith Busch <keith.busch@intel.com>
    0c0f9b95
nvme-core.c 78.9 KB