Spdk/lib/nvmf
jiaqizho 384be89f7f nvmf : fix custom trtype no right in nvmf_tgt_write_config_json
When user used CUSTOM transport, follow this step can reproduce:
1. run ./nvmf_tgt
2. ./rpc.py nvmf_create_transport -t ABC (ABC is the transport name)
3. ./rpc.py save_config >> config.json

Then in config.json :
{
	"subsystem": "nvmf",
	...
	"config": [
	{
          "method": "nvmf_create_transport",
          "params": {
            "trtype": "CUSTOM",
	    ...
	  }
	]
}

trtype should be ABC , because nvmf_create_transport need pass
the transport name to create transport.

Signed-off-by: jiaqizho <jiaqi.zhou@intel.com>
Change-Id: Iaf24837b649a1736568902f898d48135dac0882d
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4973
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jacek Kalwas <jacek.kalwas@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2020-11-05 09:38:27 +00:00
..
ctrlr_bdev.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
ctrlr_discovery.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
ctrlr.c nvmf: Fixes double triggering of association timer 2020-10-29 08:11:12 +00:00
fc_ls.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
fc.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
Makefile build: cleanup LOCAL_SYS_LIBS for uuid 2020-09-29 09:36:25 +00:00
nvmf_fc.h nvmf: Remove new_qpair callback from transport accept function pointer 2020-06-18 07:29:41 +00:00
nvmf_internal.h nvmf: Getting or setting the allow_any_host parameter no longer requires 2020-10-13 07:48:12 +00:00
nvmf_rpc.c nvmf: nvmf_subsystem_remove_host RPC now disconnects hosts 2020-10-22 03:55:57 +00:00
nvmf.c nvmf : fix custom trtype no right in nvmf_tgt_write_config_json 2020-11-05 09:38:27 +00:00
rdma.c nvmf/rdma: Add RPC to set new RDMA batching option 2020-10-21 02:25:32 +00:00
spdk_nvmf.map nvmf: Add spdk_nvmf_subsystem_disconnect_host 2020-10-15 08:24:05 +00:00
subsystem.c lib/nvmf: destroy the mutex in the error case 2020-10-15 08:24:22 +00:00
tcp.c nvmf/tcp: Repack spdk_nvmf_tcp_qpair structure 2020-10-27 08:40:12 +00:00
transport.c nvmf/transport: Use mempool_get_bulk to feel pg cache 2020-09-09 07:19:50 +00:00
transport.h lib/nvmf: Add nvmf_transport_qpair_abort_request() 2020-07-14 07:54:42 +00:00