Skip to content
Commit ee6fdc50 authored by Michael Liang's avatar Michael Liang Committed by Keith Busch
Browse files

nvme-fc: fix race between error recovery and creating association



There is a small race window between nvme-fc association creation and error
recovery. Fix this race condition by protecting accessing to controller
state and ASSOC_FAILED flag under nvme-fc controller lock.

Signed-off-by: default avatarMichael Liang <mliang@purestorage.com>
Reviewed-by: default avatarCaleb Sander <csander@purestorage.com>
Reviewed-by: default avatarJames Smart <jsmart2021@gmail.com>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent 60e445bd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment