d1fee489a7
Add OCF module based on OCF meta-library Open CAS Framwework (OCF) is high performance block storage caching meta-library It is open-source, published at https://github.com/Open-CAS/ocf With this patch OCF-enabled device is represented in SPDK as virtual bdev having core and caching devices as its base devices This patch includes implementation of: * OCF top adapter (vbdev_ocf.c) * OCF bottom adapter (dobj.c, data.c) * Adaptation layer for OCF (env/) * OCF context abstractions (ctx.c) Adaptation layer and context abstractions are not dependent on SPDK bdev OCF bdev supports reads and writes, configured at startup Other features will be added with separate patches Change-Id: Ic2dcab378c8238d16f1e4b64d4374bdf257565bc Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com> Reviewed-on: https://review.gerrithub.io/c/435708 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>