diff options
author | Roman Strashkin <[email protected]> | 2018-09-13 04:14:42 +0300 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-09-12 18:14:42 -0700 |
commit | 733b5722b4fc6e7927ea8a33bef49f7059d91903 (patch) | |
tree | e15da574cc36b67130e2947ab7eb71e1483c0d29 /tests/runfiles | |
parent | b8a90418f3a9c23b89c5d2c729a4dd0fea644508 (diff) |
zpool split can create a corrupted pool
Added vdev_resilver_needed() check to verify VDEVs are fully
synced, so that after split the new pool will not be corrupted.
Reviewed by: Pavel Zakharov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: loli10K <[email protected]>
Signed-off-by: Roman Strashkin <[email protected]>
Closes #7865
Closes #7881
Diffstat (limited to 'tests/runfiles')
-rw-r--r-- | tests/runfiles/linux.run | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run index 0090fe30d..4b41c3f74 100644 --- a/tests/runfiles/linux.run +++ b/tests/runfiles/linux.run @@ -432,7 +432,8 @@ tags = ['functional', 'cli_root', 'zpool_set'] [tests/functional/cli_root/zpool_split] tests = ['zpool_split_cliargs', 'zpool_split_devices', - 'zpool_split_encryption', 'zpool_split_props', 'zpool_split_vdevs'] + 'zpool_split_encryption', 'zpool_split_props', 'zpool_split_vdevs', + 'zpool_split_resilver'] tags = ['functional', 'cli_root', 'zpool_split'] [tests/functional/cli_root/zpool_status] |