Date: Tue, 2 May 2000 11:51:17 -0700 (PDT) From: mdiclaud@cidera.com To: freebsd-gnats-submit@FreeBSD.org Subject: kern/18350: aio_suspend doesn't work when nents == AIO_LISTIO_MAX Message-ID: <200005021851.LAA45043@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005021851.LAA45043>