aio: revert the workaround for bug 251828 in the tests

This bug is no longer reproducible in 14.0-CURRENT and 13.0-RELEASE

Do not MFC to stable/12 !

PR:		251828
Reported by:	markj
Reviewed by:	markj
MFC after:	2 weeks
Sponsored by:	Axcient
Differential Revision: https://reviews.freebsd.org/D31535
This commit is contained in:
Alan Somers 2021-08-13 16:59:10 -06:00
parent 9446d9e88f
commit 825fb07c55

View File

@ -924,13 +924,6 @@ aio_zvol_setup(void)
ZVOL_SIZE " %s", zvol_name);
ATF_REQUIRE_EQ_MSG(0, system(cmd),
"zfs create failed: %s", strerror(errno));
/*
* XXX Due to bug 251828, we need an extra "zfs set" here
* https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251828
*/
snprintf(cmd, sizeof(cmd), "zfs set volmode=dev %s", zvol_name);
ATF_REQUIRE_EQ_MSG(0, system(cmd),
"zfs set failed: %s", strerror(errno));
snprintf(devname, sizeof(devname), "/dev/zvol/%s", zvol_name);
do {