+6
−0
+4
−21
+0
−2
+16
−3
Loading
This function served two purposes:
1) It allowed non-fabrics transports to execute fabrics commands, as
spdk_nvmf_request_exec() did not allow it.
2) It didn't do the checks performed by nvmf_check_subsystem_active(),
which allowed transports to execute commands before qpair's state
was set to ACTIVE.
1) is no longer true, as spdk_nvmf_request_exec() was recently changed
to allow non-fabrics transports to execute fabrics commands and 2) can
be worked around in other ways, e.g. by a spdk_thread_send_msg(), which
is what the vfio-user transport will now do to send the CONNECT command.
Signed-off-by:
Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I712a006296e661a1c3de5dfd003cde9503209bf5
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22130
Reviewed-by:
Jacek Kalwas <jacek.kalwas@intel.com>
Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by:
Jim Harris <jim.harris@samsung.com>
Community-CI: Mellanox Build Bot