Date: Mon, 19 Mar 2018 19:09:15 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r331221 - head/tests/sys/aio Message-ID: <201803191909.w2JJ9F1D068748@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803191909.w2JJ9F1D068748>