]> git.ipfire.org Git - thirdparty/mdadm.git/commit
tests/00raid5-zero: Introduce test to exercise --write-zeros.
authorLogan Gunthorpe <logang@deltatee.com>
Wed, 1 Mar 2023 20:41:34 +0000 (13:41 -0700)
committerJes Sorensen <jes@trained-monkey.org>
Mon, 13 Mar 2023 14:08:10 +0000 (10:08 -0400)
commitc918cf2af993b55bca9f396c79713e54d3f8b6fb
tree7fac375a500a635f4cf0fd394f50e84516626735
parent577fd10486d8d1472a6b559066f344ac30a3a391
tests/00raid5-zero: Introduce test to exercise --write-zeros.

Attempt to create a raid5 array with --write-zeros. If it is successful
check the array to ensure it is in sync.

If it is unsuccessful and an unsupported error is printed, skip the
test.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Acked-by: Kinga Tanska <kinga.tanska@linux.intel.com>
Reviewed-by: Xiao Ni <xni@redhat.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Acked-by: Coly Li <colyli@suse.de>
Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
tests/00raid5-zero [new file with mode: 0644]