zfs/tests/zfs-tests/tests
Stéphane Lesimple 4fc1ea9c6c
zpool: fix redundancy check after vdev removal
The presence of indirect vdevs was confusing get_redundancy(), which
considered a pool with e.g. only mirror top-level vdevs and at least
one indirect vdev (due to the removal of a previous vdev) as already
having a broken redundancy, which is not the case. This lead to the
possibility of compromising the redundancy of a pool by adding
mismatched vdevs without requiring the use of `-f`, and with no
visible notice or warning.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Stéphane Lesimple <speed47_github@speed47.net>
Closes #13705
Closes #13711
2022-08-04 17:02:57 -07:00
..
functional zpool: fix redundancy check after vdev removal 2022-08-04 17:02:57 -07:00
perf autoconf: use include directives instead of recursing down test data 2022-05-10 10:20:19 -07:00
Makefile.am Add snapshots_changed as property 2022-08-02 16:45:30 -07:00