[PATCH v2] nvme: fix deadlock between reset and scan
Keith Busch
kbusch at kernel.org
Thu Nov 30 14:28:14 PST 2023
On Thu, Nov 30, 2023 at 10:13:37AM +0800, Bitao Hu wrote:
> Fix by marking the ctrl with say NVME_CTRL_FROZEN flag set in
> nvme_start_freeze and cleared in nvme_unfreeze. Then the scan can check
> it before adding the new namespace (under the namespaces_rwsem).
Thanks for the detailed explanation. This looks good to me.
Reviewed-by: Keith Busch <kbsuch at kernel.org>
More information about the Linux-nvme
mailing list