From owner-svn-src-head@freebsd.org  Mon Mar 19 19:09:16 2018
Return-Path: <owner-svn-src-head@freebsd.org>
Delivered-To: svn-src-head@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4CC37F64A4D;
 Mon, 19 Mar 2018 19:09:16 +0000 (UTC) (envelope-from jhb@FreeBSD.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::19:3])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "mxrelay.nyi.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 02AA77F92D;
 Mon, 19 Mar 2018 19:09:16 +0000 (UTC) (envelope-from jhb@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2610:1c1:1:6068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id ED863127A6;
 Mon, 19 Mar 2018 19:09:15 +0000 (UTC) (envelope-from jhb@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.37])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2JJ9FIa068749;
 Mon, 19 Mar 2018 19:09:15 GMT (envelope-from jhb@FreeBSD.org)
Received: (from jhb@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2JJ9F1D068748;
 Mon, 19 Mar 2018 19:09:15 GMT (envelope-from jhb@FreeBSD.org)
Message-Id: <201803191909.w2JJ9F1D068748@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: jhb set sender to jhb@FreeBSD.org
 using -f
From: John Baldwin <jhb@FreeBSD.org>
Date: Mon, 19 Mar 2018 19:09:15 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-head@freebsd.org
Subject: svn commit: r331221 - head/tests/sys/aio
X-SVN-Group: head
X-SVN-Commit-Author: jhb
X-SVN-Commit-Paths: head/tests/sys/aio
X-SVN-Commit-Revision: 331221
X-SVN-Commit-Repository: base
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-head@freebsd.org
X-Mailman-Version: 2.1.25
Precedence: list
List-Id: SVN commit messages for the src tree for head/-current
 <svn-src-head.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-src-head>,
 <mailto:svn-src-head-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-head/>
List-Post: <mailto:svn-src-head@freebsd.org>
List-Help: <mailto:svn-src-head-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-src-head>,
 <mailto:svn-src-head-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Mar 2018 19:09:16 -0000

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,