Re: [SPAM?] Re: Asynchronous I/O Support

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: [SPAM?] Re: Asynchronous I/O Support
Дата
Msg-id 20061024202307.GH30158@svana.org
обсуждение исходный текст
Ответ на Re: [SPAM?] Re: Asynchronous I/O Support  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
Ответы Re: [SPAM?] Re: Asynchronous I/O Support  (NikhilS <nikkhils@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: New CRC algorithm: Slicing by 8
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Release stamping (Was: [CORE] Schedule for release?)