dedupe: allow to generate dedupe buffers from working set
authorBar David <Bar.David@dell.com>
Thu, 17 Jun 2021 12:39:58 +0000 (15:39 +0300)
committerBar David <bardavvid@gmail.com>
Thu, 15 Jul 2021 05:55:15 +0000 (08:55 +0300)
commit0d71aa983a4dce75a088b3a4831d5b217df066fb
tree81b63a555ce0f7353067e3ad0e040fe80c9ac894
parent77c72e0f504364adf6a0e8f1155fdf3fd68ef248
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 <bardavvid@gmail.com>
16 files changed:
DEDUPE-TODO [new file with mode: 0644]
HOWTO
Makefile
cconv.c
dedupe.c [new file with mode: 0644]
dedupe.h [new file with mode: 0644]
fio.1
fio.h
init.c
io_u.c
lib/rand.c
lib/rand.h
options.c
server.h
t/dedupe.c
thread_options.h