From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,6fc239957b120d83,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-03-26 13:28:40 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: ashaw@syncsort.com (Andrew M. Shaw) Newsgroups: comp.unix.tru64 Subject: Compaq Tru64 5.1 AIO fail with Direct I/O Date: 26 Mar 2002 13:28:40 -0800 Organization: http://groups.google.com/ Message-ID: <8bbcd760.0203261328.29bc57a2@posting.google.com> NNTP-Posting-Host: 65.115.38.225 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1017178120 25963 127.0.0.1 (26 Mar 2002 21:28:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 26 Mar 2002 21:28:40 GMT Xref: archiver1.google.com comp.unix.tru64:7125 Or rather, it succeeds too well: Reading a file with AIO works fine if Direct I/O is off, and conversely. Trying to do AIO with Direct I/O on, though, causes the AIO to always return successfully the number of bytes requested, i.e. the file is apparently infinite. This is just a regular file, nothing particularly strange going on. The aiocp->buf is 8K-aligned. Does anyone have any insight into this? The better part of a day spent searching the Compaq web site was (mostly) unavailing. I know there is a patch for *other* AIO/Direct-io problems, e.g. kernel panics, but I need to have this particular one nailed down. Thanks in advance, Andrew Shaw --