numam-spdk/module
Marcin Dziegielewski 1ee2e81b30 lib/bdev/ocf: add possibility to remove ocf instance
In current code there is no possibility to remove ocf instance
permanently, even we call delete_ocf_bdev rpc command, on next examine
this instance will be loaded.

This patch introduces changes to delete_ocf_bdev rpc command. When we call
this command via rpc, core related to particular vbdev will be removed
from ocf cache before removing this cache instance. Thanks to that, on
next examine we will not detect this core in cache metadata and therefore
we will not create this instance on next load.

However, in any other situation, we will not touch metadata, so in case of
dirty shutdown/hot remove, on next load, we will recovery this instance.

Signed-off-by: Marcin Dziegielewski <marcin.dziegielewski@intel.com>
Change-Id: Iebef80989ea22ccea7f1b6ba4d734a40c1d5cc5d
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/465675
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com>
2019-10-07 11:24:19 +00:00
..
bdev lib/bdev/ocf: add possibility to remove ocf instance 2019-10-07 11:24:19 +00:00
blob blob_bdev: add spdk_bdev_create_bs_dev_from_desc 2019-09-18 02:59:59 +00:00
copy RPC: rename scan_ioat_copy_engine to ioat_scan_copy_engine 2019-09-19 19:24:47 +00:00
event RPC: rename get_subsystem_config to framework_get_config 2019-10-01 13:57:36 +00:00
sock sock: do not free group_impl in generic layer 2019-10-01 14:01:58 +00:00
Makefile module: add shared lib deps for all modules. 2019-08-27 18:49:56 +00:00