diff options
author | 2019-09-04 10:06:11 -0600 | |
---|---|---|
committer | 2019-10-14 23:22:00 +0900 | |
commit | c1ac9a4b0797ca8bb4470f863a5f78ef1ab13bed (patch) | |
tree | ef6e639ca906f07528d43d629441c84d0f947b97 /scripts/gdb/linux/utils.py | |
parent | nvme: Prevent resets during paused controller state (diff) | |
download | wireguard-linux-c1ac9a4b0797ca8bb4470f863a5f78ef1ab13bed.tar.xz wireguard-linux-c1ac9a4b0797ca8bb4470f863a5f78ef1ab13bed.zip |
nvme: Wait for reset state when required
Prevent simultaneous controller disabling/enabling tasks from interfering
with each other through a function to wait until the task successfully
transitioned the controller to the RESETTING state. This ensures disabling
the controller will not be interrupted by another reset path, otherwise
a concurrent reset may leave the controller in the wrong state.
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