1ee2e81b30
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> |
||
---|---|---|
.. | ||
aio | ||
compress | ||
crypto | ||
delay | ||
error | ||
gpt | ||
iscsi | ||
lvol | ||
malloc | ||
null | ||
nvme | ||
ocf | ||
passthru | ||
pmem | ||
raid | ||
rbd | ||
rpc | ||
split | ||
uring | ||
virtio | ||
Makefile |