O_DIRECT in freebsd - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject O_DIRECT in freebsd
Date
Msg-id 12e401c33498$a6a6f9e0$6500a8c0@fhp.internal
Whole thread Raw
Responses Re: O_DIRECT in freebsd  (Sean Chittenden <sean@chittenden.org>)
Re: O_DIRECT in freebsd  (Curt Sampson <cjs@cynic.net>)
List pgsql-hackers
I noticed this in the FreeBSD 5.1 release notes:

"A new DIRECTIO kernel option enables support for read operations that
bypass the buffer cache and put data directly into a userland buffer. This
feature requires that the O_DIRECT flag is set on the file descriptor and
that both the offset and length for the read operation are multiples of the
physical media sector size. [MERGED]"

MERGED means that it should also appear in FreeBSD 4.9.

Will PostgreSQL pick this up automatically, or do we need to add extra
checks?

Chris





pgsql-hackers by date:

Previous
From: Dennis Björklund
Date:
Subject: Re: confused with encodings
Next
From: "Shridhar Daithankar"
Date:
Subject: Re: Our FLOAT(p) precision does not conform to spec