Spdk/module/bdev/ocf
GangCao b3be320de4 vbdev: 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: Id1299bb0d86db57bce48b9787d7f248d29a6f345
Signed-off-by: GangCao <gang.cao@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/974
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-02-25 10:46:40 +00:00
..
ctx.c lib/bdev/ocf: update of ocf library to version 19.06 2019-10-22 17:22:41 +00:00
ctx.h lib/bdev/ocf: fix potential issue around base->management_channel 2019-10-18 17:31:39 +00:00
data.c mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
data.h mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
Makefile lib/mk: update OCF build. 2019-08-27 18:49:56 +00:00
stats.c lib/bdev/ocf: update of ocf library to version 19.06 2019-10-22 17:22:41 +00:00
stats.h mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
utils.c lib/bdev/ocf: remove unused code related to polling utils 2019-10-22 17:22:41 +00:00
utils.h lib/bdev/ocf: increase capabilites of vbdev_ocf_mngt_stop function 2019-10-22 17:22:41 +00:00
vbdev_ocf_rpc.c lib/bdev/ocf: update of ocf library to version 19.06 2019-10-22 17:22:41 +00:00
vbdev_ocf.c vbdev: close the base bdev on its opened thread 2020-02-25 10:46:40 +00:00
vbdev_ocf.h vbdev: close the base bdev on its opened thread 2020-02-25 10:46:40 +00:00
volume.c mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
volume.h mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00