aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorDennis Zhou <[email protected]>2019-12-13 16:22:20 -0800
committerDavid Sterba <[email protected]>2020-01-20 16:40:58 +0100
commitdfb79ddb130e0a239e3e90aaf5f5b908555f52bb (patch)
tree9f21dfa02d5a64a860e4cc392b534c2720785950 /lib/mpi/mpi-mul.c
parente4faab844a55edb9b628bf1f982fbc30f07b9700 (diff)
btrfs: track discardable extents for async discard
The number of discardable extents will serve as the rate limiting metric for how often we should discard. This keeps track of discardable extents in the free space caches by maintaining deltas and propagating them to the global count. The deltas are calculated from 2 values stored in PREV and CURR entries, then propagated up to the global discard ctl. The current counter value becomes the previous counter value after update. Signed-off-by: Dennis Zhou <[email protected]> Reviewed-by: David Sterba <[email protected]> [ update changelog ] Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions