+7
−12
+2
−1
+14
−14
+165
−231
+0
−18
Loading
This patch includes all the essential changes needed for compatibility with OCF 24.9. 1. Introduce IO forward mechanism This functionality removes all memory allocations on the IO path by creating abstractions which allow to pass all the needed information to the bottom volume, using original buffers and IO requests already allocated by the user, without the need for creating indirect IO representations. The responsibility for refcount accounting and error aggregation was moved from IO engines to a new intermediate layer introduced by forward IO. 2. Remove ocf_submit_* ops Get rid of the code which has been superseded by forward IO. 3. Update queue creation API Remove lock protecting queue list in the cache. It's now properly protected by the OCF itself. 4. Use dedicated ocf_io_t type instead of struct ocf_io 5. Update OCF API usage All those patches needed to be squashed in order to fulfill the requirements of SPDK CI builds. Change-Id: I81098f4732109677c2fc48558ac88b3527a8f12f Signed-off-by:Rafal Stefanowski <rafal.stefanowski@huawei.com> Signed-off-by:
Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by:
Avi Halaf <avi.halaf@huawei.com> Signed-off-by:
Amir Haroush <amir.haroush@huawei.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25397 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>