Skip to content

Commit

Permalink
[vpsAdminOS] Attempt to fix our arc_prune storms
Browse files Browse the repository at this point in the history
These are especially bad when zfs_arc_meta_strategy=META_ONLY
  • Loading branch information
snajpa committed Oct 4, 2019
1 parent f9ad799 commit ad474ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/zfs/arc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3939,7 +3939,7 @@ arc_evict_state(arc_state_t *state, uint64_t spa, int64_t bytes,
* Request that 10% of the LRUs be scanned by the superblock
* shrinker.
*/
if (type == ARC_BUFC_DATA && aggsum_compare(&astat_dnode_size,
if (type == ARC_BUFC_METADATA && aggsum_compare(&astat_dnode_size,
arc_dnode_size_limit) > 0) {
arc_prune_async((aggsum_upper_bound(&astat_dnode_size) -
arc_dnode_size_limit) / sizeof (dnode_t) /
Expand Down

0 comments on commit ad474ab

Please sign in to comment.