diff options
author | Alek P <[email protected]> | 2019-02-12 12:01:08 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-02-12 12:01:08 -0800 |
commit | 65282ee9e06b130f1f0169baf5d9bf0dd8fc1ef9 (patch) | |
tree | d2947cf6d10dae5bf14792964cdae8bf6552ea02 /module/zfs/rrwlock.c | |
parent | dcec0a12c8e480262288ac76f6350652079ea173 (diff) |
Freeing throttle should account for holes
Deletion throttle currently does not account for holes in a file.
This means that it can activate when it shouldn't.
To fix it we switch the throttle to be based on the number of
L1 blocks we will have to dirty when freeing
Reviewed by: Tom Caputi <[email protected]>
Reviewed by: Matt Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Alek Pinchuk <[email protected]>
Closes #7725
Closes #7888
Diffstat (limited to 'module/zfs/rrwlock.c')
0 files changed, 0 insertions, 0 deletions