commit | 5dc7c10b87474c98116d3438739743cd77263e9f | [log] [tgz] |
---|---|---|
author | Dennis Zhou <[email protected]> | Fri Dec 13 16:22:21 2019 -0800 |
committer | David Sterba <[email protected]> | Mon Jan 20 16:40:59 2020 +0100 |
tree | 3636b859f5228c8df8d777b2b5a4ec9559510978 | |
parent | dfb79ddb130e0a239e3e90aaf5f5b908555f52bb [diff] |
btrfs: keep track of discardable_bytes for async discard Keep track of this metric so that we can understand how ahead or behind we are in discarding rate. This uses the same accounting method as discardable_extents, deltas between previous/current values and propagating them up. Signed-off-by: Dennis Zhou <[email protected]> Reviewed-by: David Sterba <[email protected]> [ update changelog ] Signed-off-by: David Sterba <[email protected]>