commit | 06406d81a2d7cfb8abcc4fa6cdfeb8e5897007c5 | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagi@grimberg.me> | Sun Jan 01 13:41:56 2017 +0200 |
committer | Sagi Grimberg <sagi@grimberg.me> | Thu Jan 26 17:45:00 2017 +0200 |
tree | 44710470ec93fd7b8400139ff1a33490d6335525 | |
parent | 344770b07b7ae70639ebf110010eb6156a6e55e9 [diff] |
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: Roy Shterman <roys@lightbitslabs.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de>