Skip to content

Commit

Permalink
DOSE-22 In-memory index cache (hashtable) (openzfs#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdimitro authored Dec 8, 2021
1 parent 95784ca commit 831e86c
Show file tree
Hide file tree
Showing 5 changed files with 191 additions and 55 deletions.
72 changes: 72 additions & 0 deletions cmd/zfs_object_agent/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions cmd/zfs_object_agent/zettacache/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ futures-core = "0.3.13"
lazy_static = "1.4.0"
libc = "0.2"
log = "0.4"
lru = "0.7.0"
lz4 = "1.23.2"
metered = "0.8"
more-asserts = "0.2.1"
Expand All @@ -29,5 +30,6 @@ roaring = "0.7.0"
seahash = "4.1.0"
serde = { version = "1.0.125", features = ["derive"] }
serde_json = "1.0.64"
sysinfo = "0.21.1"
tokio = { version = "1.4", features = ["full"] }
util = { path = "../util" }
1 change: 1 addition & 0 deletions cmd/zfs_object_agent/zettacache/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ mod zettacache;

pub use crate::zettacache::InsertSource;
pub use crate::zettacache::LookupResponse;
pub use crate::zettacache::LookupSource;
pub use crate::zettacache::ZettaCache;
pub use zcachedb::DumpSlabsOptions;
pub use zcachedb::DumpStructuresOptions;
Expand Down
Loading

0 comments on commit 831e86c

Please sign in to comment.