Skip to content

Commit

Permalink
libraries: add Open-CAS/ocf
Browse files Browse the repository at this point in the history
This library is particularly interesting because it's *intended* to be
embedded, and it's used in high-profile projects like ceph.
  • Loading branch information
wfrisch committed Jun 12, 2024
1 parent 92e0f00 commit 709c921
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -237,3 +237,6 @@
[submodule "libraries/aom"]
path = libraries/aom
url = https://aomedia.googlesource.com/aom/
[submodule "libraries/ocf"]
path = libraries/ocf
url = https://github.com/Open-CAS/ocf/
32 changes: 32 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,38 @@ def sparse_paths(self):
"src/shrpx_connection_handler.cc",
"src/http2.cc",
]),
Library('ocf', [
"src/mngt/ocf_mngt_cache.c",
"src/metadata/metadata.c",
"src/engine/engine_common.c",
"src/mngt/ocf_mngt_flush.c",
"src/ocf_core.c",
"src/mngt/ocf_mngt_core.c",
"src/ocf_request.h",
"src/metadata/metadata_io.c",
"src/utils/utils_cleaner.c",
"src/utils/utils_alock.c",
"inc/ocf_mngt.h",
"src/concurrency/ocf_cache_line_concurrency.c",
"src/ocf_lru.c",
"src/ocf_cache_priv.h",
"src/ocf_cache.c",
"src/engine/engine_discard.c",
"src/mngt/ocf_mngt_common.c",
"src/cleaning/acp.c",
"src/metadata/metadata_raw_dynamic.c",
"src/metadata/metadata_superblock.c",
"src/engine/engine_rd.c",
"src/cleaning/alru.c",
"src/engine/engine_pt.c",
"src/metadata/metadata_raw.c",
"env/posix/ocf_env.h",
"src/engine/engine_wb.c",
"src/engine/engine_wi.c",
"src/metadata/metadata_structs.h",
"src/engine/engine_wt.c",
"src/concurrency/ocf_cache_line_concurrency.h",
]),
Library('openjpeg', [
"src/lib/openjp2/j2k.c",
"src/lib/openjp2/tcd.c",
Expand Down
1 change: 1 addition & 0 deletions libraries/ocf
Submodule ocf added at 7c8ac2

0 comments on commit 709c921

Please sign in to comment.