Skip to content

Commit

Permalink
Evicting too many bytes from MFU metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Theera K. <[email protected]>
  • Loading branch information
tkittich authored Sep 19, 2024
1 parent 4d469ac commit a084e7f
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 @@ -4320,7 +4320,7 @@ arc_evict(void)

/* Evict MFU metadata. */
w = wt * (int64_t)(arc_meta >> 16) >> 16;
e = MIN((int64_t)(asize - arc_c), (int64_t)(m - w));
e = MIN((int64_t)(asize - arc_c), (int64_t)(m - bytes - w));
bytes = arc_evict_impl(arc_mfu, ARC_BUFC_METADATA, e);
total_evicted += bytes;
mfum -= bytes;
Expand Down

0 comments on commit a084e7f

Please sign in to comment.