The attached is a patch to define O_DIRECT by ourselves on Windows,
and to map O_DIRECT to FILE_FLAG_NO_BUFFERING.
There will be a consistency in our support between Windows and other OSes
that have O_DIRECT. Also, there is the following comment that says, I read,
we should do so.
| handle other flags? (eg FILE_FLAG_NO_BUFFERING/FILE_FLAG_WRITE_THROUGH)
Is this worth doing? Do we need more performance reports for the change?
NTT Open Source Software Center
pgsql-hackers by date
|Next:||From: Magnus Hagander||Date: 2007-01-15 09:16:30|
|Subject: Re: O_DIRECT support for Windows|
|Previous:||From: Jim Nasby||Date: 2007-01-15 03:07:23|
|Subject: Re: ODBC: how to change search_path in DSN?|
pgsql-patches by date
|Next:||From: Dave Page||Date: 2007-01-15 09:14:56|
|Subject: Re: Allow dumping of roles or tablespaces|
|Previous:||From: Jaime Casanova||Date: 2007-01-15 04:16:10|
|Subject: Re: [PATCHES] Tablespace for temporary objects and sort files|