aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2019-09-06 11:23:08 -0600
committerKeith Busch <kbusch@kernel.org>2019-10-14 23:21:54 +0900
commit4c75f877853cfa81b12374a07208e07b077f39b8 (patch)
treedcac648e8a57d4661743094f6ec2c565d36132ee /scripts/gdb/linux/utils.py
parentnvme: Restart request timers in resetting state (diff)
downloadwireguard-linux-4c75f877853cfa81b12374a07208e07b077f39b8.tar.xz
wireguard-linux-4c75f877853cfa81b12374a07208e07b077f39b8.zip
nvme: Prevent resets during paused controller state
A paused controller is doing critical internal activation work in the background. Prevent subsequent controller resets from occurring during this period by setting the controller state to RESETTING first. A helper function, nvme_try_sched_reset_work(), is introduced for these paths so they may continue with scheduling the reset_work after they've completed their uninterruptible critical section. Tested-by: Edmund Nadolski <edmund.nadolski@intel.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions