From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d6f01a357b7f98ce X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!attbi_s21.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Direct_Io for Filesystem question References: <817032b7-4e8a-4589-9e44-00e7aef1fb06@v53g2000hsa.googlegroups.com> In-Reply-To: <817032b7-4e8a-4589-9e44-00e7aef1fb06@v53g2000hsa.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s21 1224798862 12.201.97.213 (Thu, 23 Oct 2008 21:54:22 GMT) NNTP-Posting-Date: Thu, 23 Oct 2008 21:54:22 GMT Organization: AT&T ASP.att.net Date: Thu, 23 Oct 2008 21:54:22 GMT Xref: g2news1.google.com comp.lang.ada:2473 Date: 2008-10-23T21:54:22+00:00 List-Id: mhamel_98@yahoo.com wrote: > > I guess the big question is, am I ok to use Direct_Io for this sort of > operation? It seems to me that the case of multiple readers is really > not much more than one reader doing very random reads? If anyone has > specific information on the symptoms I'm seeing, I'd really appreciate > it! You must serialize all accesses to the same file object. -- Jeff Carter "When danger reared its ugly head, he bravely turned his tail and fled." Monty Python and the Holy Grail 60