Re: [PATCH blktests v1 2/3] nvme/rc: Avoid triggering host nvme-cli autoconnect

From: Max Gurtovoy
Date: Thu Jul 13 2023 - 06:50:49 EST




On 13/07/2023 13:44, Daniel Wagner wrote:
On Thu, Jul 13, 2023 at 12:30:45PM +0200, Daniel Wagner wrote:
On Thu, Jul 13, 2023 at 12:14:14PM +0200, Hannes Reinecke wrote:
Exposing the subsystem is from the target configuration side.
Additionally, the --context (which is in the initiator/host side),
according to Daniel, is there to distinguish between different
invocations. I proposed that blktests subsystem will not be part of
discoverable fabric or protected somehow by access list. Therefore, no
additional invocation will happen.

I am confused. This is exactly what the whole --context thing is.

Ah I think I got it now. You want me to set allow_hosts on the target side too
:)

Yes.
With the unique hostId/hostNqn for blktests this should work without the need for --context mechanism, that was probably added for system administrators and not for unit_testing/QA/Verification engineers that run blktests.