[PATCH v2] nvmet: force reconnect when number of queue changes
Sagi Grimberg
sagi at grimberg.me
Tue Sep 27 23:55:11 PDT 2022
> In order to be able to test queue number changes we need to make sure
> that the host reconnects.
>
> The initial idea was to disable and re-enable the ports and have the
> host to wait until the KATO timer expires and enter error
> recovery. But in this scenario the host could see DNR for a connection
> attempt which results in the host dropping the connection completely.
>
> We can force to reconnect the host by deleting all controllers
> connected to subsystem, which results the host observing a failing
> command and tries to reconnect.
This looks like a change that attempts to fix a host issue from the
target side... Why do we want to do that?
More information about the Linux-nvme
mailing list