aboutsummaryrefslogtreecommitdiffstats
path: root/tests/runfiles
diff options
context:
space:
mode:
authorSerapheim Dimitropoulos <[email protected]>2021-06-07 12:09:07 -0700
committerBrian Behlendorf <[email protected]>2021-06-09 13:05:34 -0700
commita377bde727cbda26288851d055a9f95db0559bfa (patch)
tree8fe65a520533224526552d560c89bb879c8ee163 /tests/runfiles
parente76373de7b7384bb6e5c6fd5e04f15b54df20fb7 (diff)
Livelist logic should handle dedup blkptrs
Update the logic to handle the dedup-case of consecutive FREEs in the livelist code. The logic still ensures that all the FREE entries are matched up with a respective ALLOC by keeping a refcount for each FREE blkptr that we encounter and ensuring that this refcount gets to zero by the time we are done processing the livelist. zdb -y no longer panics when encountering double frees Reviewed-by: Matthew Ahrens <[email protected]> Reviewed-by: John Kennedy <[email protected]> Reviewed-by: Don Brady <[email protected]> Signed-off-by: Serapheim Dimitropoulos <[email protected]> Closes #11480 Closes #12177
Diffstat (limited to 'tests/runfiles')
-rw-r--r--tests/runfiles/common.run4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run
index 703407a7d..dd25a55ed 100644
--- a/tests/runfiles/common.run
+++ b/tests/runfiles/common.run
@@ -166,8 +166,8 @@ tags = ['functional', 'cli_root', 'zfs_create']
[tests/functional/cli_root/zfs_destroy]
tests = ['zfs_clone_livelist_condense_and_disable',
- 'zfs_clone_livelist_condense_races', 'zfs_destroy_001_pos',
- 'zfs_destroy_002_pos', 'zfs_destroy_003_pos',
+ 'zfs_clone_livelist_condense_races', 'zfs_clone_livelist_dedup',
+ 'zfs_destroy_001_pos', 'zfs_destroy_002_pos', 'zfs_destroy_003_pos',
'zfs_destroy_004_pos', 'zfs_destroy_005_neg', 'zfs_destroy_006_neg',
'zfs_destroy_007_neg', 'zfs_destroy_008_pos', 'zfs_destroy_009_pos',
'zfs_destroy_010_pos', 'zfs_destroy_011_pos', 'zfs_destroy_012_pos',