diff options
author | Ming Lei <[email protected]> | 2023-07-11 17:40:39 +0800 |
---|---|---|
committer | Keith Busch <[email protected]> | 2023-07-21 00:53:26 -0700 |
commit | 1b95e817916069ec45a7f259d088fd1c091a8cc6 (patch) | |
tree | ce8c40f4b8faea475780a028eb9bf227e49e004d /scripts/gdb/linux | |
parent | b8f6446b6853768cb99e7c201bddce69ca60c15e (diff) |
nvme: fix possible hang when removing a controller during error recovery
Error recovery can be interrupted by controller removal, then the
controller is left as quiesced, and IO hang can be caused.
Fix the issue by unquiescing controller unconditionally when removing
namespaces.
This way is reasonable and safe given forward progress can be made
when removing namespaces.
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reported-by: Chunguang Xu <[email protected]>
Closes: https://lore.kernel.org/linux-nvme/[email protected]/
Cc: [email protected]
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions