aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorMichael Liang <mliang@purestorage.com>2023-07-07 15:21:57 -0600
committerKeith Busch <kbusch@kernel.org>2023-07-12 09:29:51 -0700
commitee6fdc5055e916b1dd497f11260d4901c4c1e55e (patch)
tree7b46664c17da474c76c5bd70078f7853f499f490 /scripts/generate_rust_analyzer.py
parentnvme-fc: return non-zero status code when fails to create association (diff)
downloadwireguard-linux-ee6fdc5055e916b1dd497f11260d4901c4c1e55e.tar.xz
wireguard-linux-ee6fdc5055e916b1dd497f11260d4901c4c1e55e.zip
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: Michael Liang <mliang@purestorage.com> Reviewed-by: Caleb Sander <csander@purestorage.com> Reviewed-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions