Timofey Titovets a288e92cac Btrfs: heuristic: add byte set calculation
Calculate byte set size for data sample:
- calculate how many unique bytes have been in the sample
- for all bytes count > 0, check if we're still in the low count range
  (~25%), such data are easily compressible, otherwise furhter analysis
  is needed

Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ update comments ]
Signed-off-by: David Sterba <dsterba@suse.com>
2017-11-01 20:45:36 +01:00
..
2017-11-01 20:45:35 +01:00
2017-11-01 20:45:35 +01:00
2017-11-01 20:45:35 +01:00
2017-11-01 20:45:35 +01:00
2017-10-30 12:28:00 +01:00
2017-10-30 12:28:00 +01:00
2017-10-30 12:27:57 +01:00
2017-11-01 20:45:35 +01:00