From owner-cvs-src@FreeBSD.ORG Wed Mar 2 03:32:02 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 114B416A4CE; Wed, 2 Mar 2005 03:32:02 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B651E43D5E; Wed, 2 Mar 2005 03:32:01 +0000 (GMT) (envelope-from ambrisko@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j223W1C4025070; Wed, 2 Mar 2005 03:32:01 GMT (envelope-from ambrisko@repoman.freebsd.org) Received: (from ambrisko@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j223W1bK025069; Wed, 2 Mar 2005 03:32:01 GMT (envelope-from ambrisko) Message-Id: <200503020332.j223W1bK025069@repoman.freebsd.org> From: Doug Ambrisko Date: Wed, 2 Mar 2005 03:32:01 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/tools/regression/aio/kqueue Makefile aio_kqueue.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 03:32:02 -0000 ambrisko 2005-03-02 03:32:01 UTC FreeBSD src repository Added files: tools/regression/aio/kqueue Makefile aio_kqueue.c Log: Add an AIO & kqueue regression test. It is a good idea to run this against a disk as the argument. If you don't it will use a temp file. The raw disk will use the kernel physio fast path method until the max number of pending op's is reached then it will queue them. File system op's are always queued. This is more important with LIO since operation can get split across and accounting of op's is broken with LIO. Note that this was broken when locking was added to kqueue (ie. 5.3) My fix needs to be better integrated with FreeBSD. Next is an LIO test and implementation. Sponsored by: IronPort Revision Changes Path 1.1 +6 -0 src/tools/regression/aio/kqueue/Makefile (new) 1.1 +197 -0 src/tools/regression/aio/kqueue/aio_kqueue.c (new)