[PATCH blktests v1 2/2] nvme/048: add reconnect after ctrl key change
Daniel Wagner
dwagner at suse.de
Tue Mar 5 03:08:40 PST 2024
On Tue, Mar 05, 2024 at 09:38:41AM +0000, Shinichiro Kawasaki wrote:
> On Mar 04, 2024 / 17:13, Daniel Wagner wrote:
> > The re-authentication is a soft state, meaning unless the host has to
> > reconnect a key change on the target side is not observed. Extend the
> > current test with a forced reconnect after a key change. This
> > exercises the DNR handling code of the host.
> >
> > Signed-off-by: Daniel Wagner <dwagner at suse.de>
>
> This looks a good improvement of the test case. I have two comments:
>
> - The commit title says nvme/048, but it should be nvme/045.
Indeed :)
> - The helper functions nvmf_wait_for_state() and set_nvmet_attr_qid_max()
> are exactly same as those in nvme/048, aren't they?
> Probably, it's the better to move them to nvme/rc, as a preparation patch.
I forgot that we already had those two helpers. Sure, will do.
More information about the Linux-nvme
mailing list