Skip to content
Commit 55adcdbb authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Keith Busch
Browse files

nvme-loop: always quiesce and cancel commands before destroying admin q



Once ->init_ctrl_finish() is called there may be commands outstanding,
so we should quiesce the admin queue and cancel all commands prior
to call nvme_loop_destroy_admin_queue().

Signed-off-by: default avatarHannes Reinecke <hare@suse.de>
Tested-by: default avatarMark O'Donovan <shiftee@posteo.net>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent fd1418de
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