aio: revert the workaround for bug 251828 in the tests

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

PR:		251828
Reported by:	markj
Reviewed by:	markj
Sponsored by:	Axcient
Differential Revision: https://reviews.freebsd.org/D31535

(cherry picked from commit 825fb07c55)
This commit is contained in:
Alan Somers 2021-08-13 16:59:10 -06:00
parent 8dff6ae859
commit 4bfd530cca

View File

@ -919,13 +919,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 {