diff options
author | Alexander Motin <[email protected]> | 2020-03-12 13:52:03 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-12 10:52:03 -0700 |
commit | fa130e010c2ff9b33aba11d2699b667e454b3ccb (patch) | |
tree | 314b2e6594df1cabc5ef0aa94fdc41ed5cead2e4 /include/sys/zvol.h | |
parent | 94eb65b4c1ff02653c00c8f30b1a2a9617afa556 (diff) |
Fix infinite scan on a pool with only special allocations
Attempt to run scrub or resilver on a new pool containing only special
allocations (special vdev added on creation) caused infinite loop
because of dsl_scan_should_clear() limiting memory usage to 5% of pool
size, which it calculated accounting only normal allocation class.
Addition of special and just in case dedup classes fixes the issue.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Alexander Motin <[email protected]>
Sponsored-By: iXsystems, Inc.
Closes #10106
Closes #8694
Diffstat (limited to 'include/sys/zvol.h')
0 files changed, 0 insertions, 0 deletions