]> granicus.if.org Git - zfs/commit
zpool: allow split with whole-disk devices
authorLOLi <loli10K@users.noreply.github.com>
Tue, 20 Nov 2018 18:22:53 +0000 (19:22 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 20 Nov 2018 18:22:53 +0000 (10:22 -0800)
commit0cd5c941d097ec170177e1a5f97f08ebd32eff85
tree2c4b7a81fdf4c3aca8f9419bd03c8a474e37090f
parentbd9c195805bd3ccecac87acfc5c962d859005d8f
zpool: allow split with whole-disk devices

This change allows 'zpool split' to work with whole-disk devices and
updates the ZFS Test Suite with a new script to exercise this
functionality.

Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #6643
Closes #8133
cmd/zpool/zpool_vdev.c
tests/runfiles/linux.run
tests/zfs-tests/tests/functional/cli_root/zpool_split/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split.cfg [new file with mode: 0644]
tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_cliargs.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_devices.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_encryption.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_props.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_resilver.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_vdevs.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_wholedisk.ksh [new file with mode: 0755]