]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: heuristic: implement sampling logic
authorTimofey Titovets <nefelim4ag@gmail.com>
Thu, 28 Sep 2017 14:33:38 +0000 (17:33 +0300)
committerDavid Sterba <dsterba@suse.com>
Wed, 1 Nov 2017 19:45:36 +0000 (20:45 +0100)
commit3daef45aecfe057d01bc4e9ba4f37aca7a1504b5
tree366c4445039476a4ad8ee1ec39cd648cd4da0ba0
parentee8350098e31a6c1e755d16deb5193f805ce4e24
Btrfs: heuristic: implement sampling logic

Copy sample data from the input data range to sample buffer then
calculate byte value count for that sample into bucket.

Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
[ minor comment updates ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.c