Skip to content
Commit 06406d81 authored by Sagi Grimberg's avatar Sagi Grimberg
Browse files

nvmet: cancel fatal error and flush async work before free controller



Make sure they are not running and we can free the controller
safely.

Signed-off-by: default avatarRoy Shterman <roys@lightbitslabs.com>
Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
parent 344770b0
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