diff options
author | Alexander Motin <[email protected]> | 2019-06-10 12:52:25 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-06-10 09:52:25 -0700 |
commit | 5a902f5aaa1fbf6f7e459ec29f6d1d988ec78b0a (patch) | |
tree | 4c4e462c049d319ddde249fac3efa5252b5b14ae /module/zfs/zvol.c | |
parent | c08c30ed131800635576282e1d142b12fa33c76b (diff) |
Fix comparison signedness in arc_is_overflowing()
When ARC size is very small, aggsum_lower_bound(&arc_size) may return
negative values, that due to unsigned comparison caused delays, waiting
for arc_adjust() to "fix" it by calling aggsum_value(&arc_size). Use
of signed comparison there fixes the problem.
Reviewed-by: Matt Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Alexander Motin <[email protected]>
Closes #8873
Diffstat (limited to 'module/zfs/zvol.c')
0 files changed, 0 insertions, 0 deletions