Spdk/lib/nbd
Ziye Yang aa4b4e17f3 nbd: Continue revising the nbd subsystem fini logic
After carefully checking the code, spdk_nbd_stop should
be called in the same spdk thread which creates the io_channel.
Usually, the spdk thread which handles the rpc call should be
same with the thread which finalizes the thread. But it could
be different. So adding another async call to make sure we should
call spdk_nbd_stop on the same spdk thread.

Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Change-Id: I276eb35e78b930d31869f10137712a78aaee71ed
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5705
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: <dongx.yi@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2021-01-08 09:36:36 +00:00
..
Makefile nbd: Use async manner to stop nbd device. 2020-12-28 14:05:15 +00:00
nbd_internal.h lib/nbd: remove spdk prefix from internal functions. 2020-05-11 12:29:07 +00:00
nbd_rpc.c nbd/nbd_rpc: Fix memory leak of an error path. 2020-12-21 17:49:16 +00:00
nbd.c nbd: Continue revising the nbd subsystem fini logic 2021-01-08 09:36:36 +00:00
spdk_nbd.map lib/nbd: add a map file. 2020-05-11 12:29:07 +00:00