diff options
| author | Keith Busch <[email protected]> | 2015-02-19 21:29:48 +0000 |
|---|---|---|
| committer | Keith Busch <[email protected]> | 2015-02-19 23:15:38 +0000 |
| commit | 0c0f9b95c8b710b74772edd9693fe7ab5419a75a (patch) | |
| tree | 222cbbadbeec1a193e380d6d18ef4b95122b45fb /lib/string_helpers.c | |
| parent | NVMe: Remove unused variables (diff) | |
| download | kernel-0c0f9b95c8b710b74772edd9693fe7ab5419a75a.tar.gz kernel-0c0f9b95c8b710b74772edd9693fe7ab5419a75a.zip | |
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: Keith Busch <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
