Skip to content
Commit 0c0f9b95 authored by Keith Busch's avatar Keith Busch
Browse files

NVMe: Fix potential corruption on sync commands



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>
parent 48328518
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment