commit | 1fe4f6fa5ae7dd1e63145e1ced7b9b38854da9f4 | [log] [tgz] |
---|---|---|
author | Timofey Titovets <nefelim4ag@gmail.com> | Thu Sep 28 17:33:39 2017 +0300 |
committer | David Sterba <dsterba@suse.com> | Wed Nov 01 20:45:36 2017 +0100 |
tree | dbe0f0b44b9814655e5b64e8b0cc72db375227b9 | |
parent | a440d48c7f93af5bae86af676cc6cd4e9fd6015f [diff] |
Btrfs: heuristic: add detection of repeated data patterns Walk over data sample and use memcmp to detect repeated patterns, like zeros, but a bit more general. Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com> Reviewed-by: David Sterba <dsterba@suse.com> [ minor coding style fixes ] Signed-off-by: David Sterba <dsterba@suse.com>