From owner-freebsd-hackers Wed Mar 6 7:29:48 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx01-a.netapp.com (mx01-a.netapp.com [198.95.226.53]) by hub.freebsd.org (Postfix) with ESMTP id A7C1537B404 for ; Wed, 6 Mar 2002 07:29:34 -0800 (PST) Received: from frejya.corp.netapp.com (frejya [10.10.20.91]) by mx01-a.netapp.com (8.11.1/8.11.1/NTAP-1.2) with ESMTP id g26FTC304484; Wed, 6 Mar 2002 07:29:12 -0800 (PST) Received: from orbit-fe.eng (localhost [127.0.0.1]) by frejya.corp.netapp.com (8.12.2/8.12.2/NTAP-1.4) with ESMTP id g26FT31Z011964; Wed, 6 Mar 2002 07:29:03 -0800 (PST) Received: from localhost (kmacy@localhost) by orbit-fe.eng (8.11.6+Sun/8.11.6) with ESMTP id g26FSlR17378; Wed, 6 Mar 2002 07:28:51 -0800 (PST) Date: Wed, 6 Mar 2002 07:28:47 -0800 (PST) From: Kip Macy To: "Peter J. Blok" Cc: Tony Arcieri , freebsd-hackers@FreeBSD.ORG Subject: Re: aio_read() oddness In-Reply-To: <20020306093611.03B1E37B400@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG FreeBSD does not support queued signals (part of RT Posix) which is required for this. -Kip ========================================================================= For RAIDANT status see: http://cranford.eng.netapp.com:8080/cgi-bin/ant4/index.cgi To submit RAIDANT test descriptions go to: http://web.netapp.com/engineering/projects/raidv2/testing/ Ontap on the web: http://web.netapp.com/engineering/projects/raidv2/testing/global/ On Wed, 6 Mar 2002, Peter J. Blok wrote: > On Wednesday 06 March 2002 07:03, Tony Arcieri wrote: > > I'm not currently subscribed to this list, so please cc replies to me. > > > > I was playing around with aio_read() and ran into some seemingly aberrant > > behavior, although not with aio_read() itself, but the resulting signal. > > Within struct aiocb I was setting: > > > > aio_sigevent.sigev_notify = SIGEV_SIGNAL; > > aio_sigevent.sigev_value.sigval_int = 42; > > iocb.aio_sigevent.sigev_signo = SIGUSR1; > > > > Then in the sigaction structure: > > sa_flags = SA_SIGINFO; > > > > Upon completion of the requested read, a signal is sent. Within the > > siginfo structure, si_signo is set properly. > > > > However, si_value.sigval_int is zero. Is this just not implemented > > completely yet or am I missing something? > I have a set of aio test tools and it indeed seems it is not implemenented. I > am getting a zero value too. > > > > Tony Arcieri > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message