From 4bfd530cca28c8e24de3f9a0d8b138f4644ffca9 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Fri, 13 Aug 2021 16:59:10 -0600 Subject: [PATCH] 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 825fb07c55986971b1a20e40a73c12eb0ff432e0) --- tests/sys/aio/aio_test.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/sys/aio/aio_test.c b/tests/sys/aio/aio_test.c index 05351b849a0a..86c41fa469ea 100644 --- a/tests/sys/aio/aio_test.c +++ b/tests/sys/aio/aio_test.c @@ -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 {