From owner-freebsd-bugs Tue May 2 12: 0: 9 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 35EB937BD48 for ; Tue, 2 May 2000 12:00:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA46345; Tue, 2 May 2000 12:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 306AD37BA89 for ; Tue, 2 May 2000 11:51:18 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA45043; Tue, 2 May 2000 11:51:17 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Message-Id: <200005021851.LAA45043@freefall.freebsd.org> Date: Tue, 2 May 2000 11:51:17 -0700 (PDT) From: mdiclaud@cidera.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/18350: aio_suspend doesn't work when nents == AIO_LISTIO_MAX Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 18350 >Category: kern >Synopsis: aio_suspend doesn't work when nents == AIO_LISTIO_MAX >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue May 2 12:00:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Mike DiClaudio >Release: 3.4-RELEASE >Organization: Cidera, Inc >Environment: FreeBSD flash.skycache.com 3.4-RELEASE FreeBSD 3.4-RELEASE #2: Mon Apr 3 14:52:24 EDT 2000 toor@flash.skycache.com:/usr/src/sys/compile/VAST_DEBUG i386 >Description: when calling aio_suspend( ..., AIO_LISTIO_MAX, ... ), it returns with EINVAL also, man pages for aio_suspend don't match comments in the code: man pages say it returns when *all* requests complete, code says when *any* complete. >How-To-Repeat: >Fix: modify /sys/kern/vfs_aio.c, at the beginning of the aio_suspend function, change: if (uap->nent >= AIO_LISTIO_MAX) return EINVAL; change ">=" to ">" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message