From owner-freebsd-hackers@freebsd.org Mon May 23 21:41:05 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E22BB47882 for ; Mon, 23 May 2016 21:41:05 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E411C1287 for ; Mon, 23 May 2016 21:41:04 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 031F8B94E; Mon, 23 May 2016 17:41:04 -0400 (EDT) From: John Baldwin To: freebsd-hackers@freebsd.org Cc: Rick Miller Subject: Re: AIO in 10.0-RELEASE Date: Mon, 23 May 2016 13:54:18 -0700 Message-ID: <5493135.9JME949vIb@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.2-STABLE; KDE/4.14.3; amd64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 23 May 2016 17:41:04 -0400 (EDT) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2016 21:41:05 -0000 On Thursday, April 07, 2016 01:45:46 PM Rick Miller wrote: > Please reply directly as I am not currently subscribed to this particular > mailing list... > > A user has been implementing AIO features in an application on FreeBSD > 10.0-RELEASE. They assert that, despite aio(4) stating that it is enabled > either statically (with VFS_AIO in the kernel config) or dynamically > (kldload), in their development environment there was no requirement for > either of these methods of enabling AIO. My google-foo is failing me when > it comes to FreeBSD's AIO. > > This question defies logic, but is it possible that AIO works by default in > earlier versions of 10.0 and not in more recent version of 10.0 without any > local system changes? > > It is understood that AIO has recently been enabled by default in FreeBSD > 10.3 and -CURRENT. This particular scenario is applicable to 10.0. I don't think 10.3 has enabled it by default. All of my changes are only in HEAD. I think you've always had to enable aio explicitly via kldload or VFS_AIO in a custom kernel prior to my changes in 11. -- John Baldwin