Re: [SPAM?] Re: Asynchronous I/O Support - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: [SPAM?] Re: Asynchronous I/O Support
Date
Msg-id 20061024202307.GH30158@svana.org
Whole thread Raw
In response to Re: [SPAM?] Re: Asynchronous I/O Support  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
Responses Re: [SPAM?] Re: Asynchronous I/O Support  (NikhilS <nikkhils@gmail.com>)
List pgsql-hackers
On Tue, Oct 24, 2006 at 12:53:23PM -0700, Ron Mayer wrote:
> Anyway, for those who want to see what they do in Linux,
>   http://www.gelato.unsw.edu.au/lxr/source/mm/fadvise.c
> Pretty scary that Bruce said it could make older linuxes
> dump core - there isn't a lot of code there.

The bug was probably in the glibc interface to the kernel. Google found
this:

http://sourceware.org/ml/libc-hacker/2004-03/msg00000.html

i.e. posix_fadvise appears to have been broken on all 64-bit
architechtures prior to March 2004 due to a silly linking error.

And then things like this:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=313219

Which suggest that prior to glibc 2.3.5, posix_fadvise crashed on 2.4
kernels. That's a fairly recent version, so the bug would still be
fairly widespead.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

pgsql-hackers by date:

Previous
From: "Simon Riggs"
Date:
Subject: Re: New CRC algorithm: Slicing by 8
Next
From: "Magnus Hagander"
Date:
Subject: Re: Release stamping (Was: [CORE] Schedule for release?)