summaryrefslogtreecommitdiff
path: root/fs/btrfs/delayed-inode.c
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2015-02-20 00:29:48 +0300
committerKeith Busch <keith.busch@intel.com>2015-02-20 02:15:38 +0300
commit0c0f9b95c8b710b74772edd9693fe7ab5419a75a (patch)
tree222cbbadbeec1a193e380d6d18ef4b95122b45fb /fs/btrfs/delayed-inode.c
parent483285184059b3f5b3a5707977349528abc82441 (diff)
downloadlinux-0c0f9b95c8b710b74772edd9693fe7ab5419a75a.tar.xz
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 <keith.busch@intel.com>
Diffstat (limited to 'fs/btrfs/delayed-inode.c')
0 files changed, 0 insertions, 0 deletions