numam-spdk/module/bdev/raid
GangCao c65d64a6b8 vbdev/raid: close the base bdev on its opened thread
With the JSON configure, the base device will be opened on the
same thread (RPC thread) to handle the JSON operation. Later the
virtual device upon the base device can be opened on another
thread. At the time of virtual device destruction, the base
device is also closed at the thread where opening the virtual
device, it is actually different than the original thread where
this base device is opened through the JSON configure.

Add a thread here to record the exact thread where the base
device is opened and then later route it back to handle the base
device close operation.

Change-Id: Ib95e8d190bd87158ae1ecc6698da95ccc4ba9579
Signed-off-by: GangCao <gang.cao@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/992
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-02-26 09:26:49 +00:00
..
bdev_raid_rpc.c module/raid: fix typos in comments 2020-02-03 12:46:22 +00:00
bdev_raid.c vbdev/raid: close the base bdev on its opened thread 2020-02-26 09:26:49 +00:00
bdev_raid.h vbdev/raid: close the base bdev on its opened thread 2020-02-26 09:26:49 +00:00
Makefile module/raid: move raid0 functions to separate file 2019-11-01 14:34:32 +00:00
raid0.c module/raid: check for the minimum required base bdevs 2020-02-20 14:40:19 +00:00