path: root/dedupe.h
diff options
authorBar David <>2021-06-17 15:39:58 +0300
committerBar David <>2021-07-15 08:55:15 +0300
commit0d71aa983a4dce75a088b3a4831d5b217df066fb (patch)
tree81b63a555ce0f7353067e3ad0e040fe80c9ac894 /dedupe.h
parent77c72e0f504364adf6a0e8f1155fdf3fd68ef248 (diff)
dedupe: allow to generate dedupe buffers from working set
This commit introduced new dedupe generation mode "working_set". Working set mode simulates a more realistic approach to deduped data, in which deduped buffers are generated from pre-existing working set - % size of the device or file. In other words, dedupe is not usually expected to be close in time with the source buffer, as well as source buffers are usually composed of small subset of the entire file or device. Signed-off-by: Bar David <>
Diffstat (limited to 'dedupe.h')
1 files changed, 6 insertions, 0 deletions
diff --git a/dedupe.h b/dedupe.h
new file mode 100644
index 00000000..d4c4dc37
--- /dev/null
+++ b/dedupe.h
@@ -0,0 +1,6 @@
+#ifndef DEDUPE_H
+#define DEDUPE_H
+int init_dedupe_working_set_seeds(struct thread_data *td);