db96437e42
Some cases need to redirect spdk_nvmf_request_complete() to the thread pointed by qpair->group->thread. Abort command will be included such cases but abort command is executed in the different file ctrlr_bdev.c. For the convenience, change spdk_nvmf_request_complete() to include the redirection and extract the core operation of spdk_nvmf_request_complete() into a private function _nvmf_request_complete(). In ctrlr.c, call _nvmf_request_complete() for non-redirected cases. Besides, locate the definition of _nvmf_request_complete() under the definition of spdk_nvmf_request_complete() in a file to trick the format check tool to avoid false positive, and fix a spell error together. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I85546c80e99e01686c9470653e0ddafcf7c6a391 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2115 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
ctrlr_bdev.c | ||
ctrlr_discovery.c | ||
ctrlr.c | ||
fc_ls.c | ||
fc.c | ||
Makefile | ||
nvmf_fc.h | ||
nvmf_internal.h | ||
nvmf_rpc.c | ||
nvmf.c | ||
rdma.c | ||
spdk_nvmf.map | ||
subsystem.c | ||
tcp.c | ||
transport.c | ||
transport.h |