aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-runner/bin
diff options
context:
space:
mode:
authorMatthew Ahrens <[email protected]>2020-12-17 12:11:56 -0800
committerGitHub <[email protected]>2020-12-17 12:11:56 -0800
commit71e4ce0e52c9205b9f4a8dceaa06a54089b0f70c (patch)
tree0d503d1e546f1519ad3c0bb19e2e296aedb5bbe7 /tests/test-runner/bin
parent1531506d23232f90e9d0cef30d7bdbe7511e1cb4 (diff)
special device removal space accounting fixes
The space in special devices is not included in spa_dspace (or dsl_pool_adjustedsize(), or the zfs `available` property). Therefore there is always at least as much free space in the normal class, as there is allocated in the special class(es). And therefore, there is always enough free space to remove a special device. However, the checks for free space when removing special devices did not take this into account. This commit corrects that. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Don Brady <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matthew Ahrens <[email protected]> Closes #11329
Diffstat (limited to 'tests/test-runner/bin')
-rwxr-xr-xtests/test-runner/bin/zts-report.py.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test-runner/bin/zts-report.py.in b/tests/test-runner/bin/zts-report.py.in
index 50fc96475..3db7f84a6 100755
--- a/tests/test-runner/bin/zts-report.py.in
+++ b/tests/test-runner/bin/zts-report.py.in
@@ -187,8 +187,6 @@ elif sys.platform.startswith('linux'):
# reasons listed above can be used.
#
maybe = {
- 'alloc_class/alloc_class_012_pos': ['FAIL', '9142'],
- 'alloc_class/alloc_class_013_pos': ['FAIL', '9142'],
'chattr/setup': ['SKIP', exec_reason],
'cli_root/zdb/zdb_006_pos': ['FAIL', known_reason],
'cli_root/zfs_get/zfs_get_004_pos': ['FAIL', known_reason],