commit | 9ddf648f9c2a492cef4e41e31c50515a817d0562 | [log] [tgz] |
---|---|---|
author | Dennis Zhou <dennis@kernel.org> | Thu Jan 02 16:26:41 2020 -0500 |
committer | David Sterba <dsterba@suse.com> | Mon Jan 20 16:41:00 2020 +0100 |
tree | 64ecae153d63e8392660d0e73e5d99391010795b | |
parent | 5cb0724e1b4653629c508906ca6098bae77d2f95 [diff] |
btrfs: keep track of discard reuse stats Keep track of how much we are discarding and how often we are reusing with async discard. The discard_*_bytes values don't need any special protection because the work item provides the single threaded access. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Dennis Zhou <dennis@kernel.org> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>