summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2019-09-04 10:06:11 -0600
committerKeith Busch <kbusch@kernel.org>2019-10-14 23:22:00 +0900
commitc1ac9a4b0797ca8bb4470f863a5f78ef1ab13bed (patch)
treeef6e639ca906f07528d43d629441c84d0f947b97 /init
parent4c75f877853cfa81b12374a07208e07b077f39b8 (diff)
downloadlwn-c1ac9a4b0797ca8bb4470f863a5f78ef1ab13bed.tar.gz
lwn-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 'init')
0 files changed, 0 insertions, 0 deletions