Author: jhb
Date: Mon Mar 19 19:09:15 2018
New Revision: 331221
URL: https://svnweb.freebsd.org/changeset/base/331221

Log:
  Revert r318180 and re-enable AIO tests on md(4) by default.
  
  The 'physio' fast-path used by AIO requests on md(4) devices, is not
  gated on the unsafe_aio knob.  Prior to r327755, some AIO requests could
  fail the fast-path and fall back to the slow-path (requests for devices
  not supporting unmapped I/O and requests which failed with EFAULT during
  the fast-path).  However, those cases now return a suitable error rather
  than using the slow-path.
  
  PR:           217261
  Reviewed by:  asomers
  Sponsored by: Chelsio Communications
  Differential Revision:        https://reviews.freebsd.org/D14742

Modified:
  head/tests/sys/aio/aio_test.c

Modified: head/tests/sys/aio/aio_test.c
==============================================================================
--- head/tests/sys/aio/aio_test.c       Mon Mar 19 18:59:15 2018        
(r331220)
+++ head/tests/sys/aio/aio_test.c       Mon Mar 19 19:09:15 2018        
(r331221)
@@ -667,7 +667,6 @@ aio_md_test(completion comp, struct sigevent *sev)
        char buf[80];
 
        ATF_REQUIRE_KERNEL_MODULE("aio");
-       ATF_REQUIRE_UNSAFE_AIO();
 
        mdctl_fd = open("/dev/" MDCTL_NAME, O_RDWR, 0);
        ATF_REQUIRE_MSG(mdctl_fd != -1,
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to