git: 4bfd530cca28 - stable/13 - aio: revert the workaround for bug 251828 in the tests

From: Alan Somers <asomers_at_FreeBSD.org>
Date: Thu, 07 Oct 2021 21:40:46 UTC
The branch stable/13 has been updated by asomers:

URL: https://cgit.FreeBSD.org/src/commit/?id=4bfd530cca28c8e24de3f9a0d8b138f4644ffca9

commit 4bfd530cca28c8e24de3f9a0d8b138f4644ffca9
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2021-08-13 22:59:10 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2021-10-07 21:38:25 +0000

    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 {