[PATCH 4/4] nvmet: Add feature close connection from target side
Christoph Hellwig
hch at lst.de
Mon Dec 4 14:40:57 PST 2017
> The point is that ->delete_ctrl() is not designed to be safe for
> calling it multiple times (although it might be the case for rdma) and
> the code assumes that (which is wrong).
>
> You need to call it conditionally. See what is done in
> nvmet_ctrl_fatal_error()
Yes. In fact he should probably just call nvmet_ctrl_fatal_error.
More information about the Linux-nvme
mailing list