O_DIRECT support for Windows - Mailing list pgsql-patches

From ITAGAKI Takahiro
Subject O_DIRECT support for Windows
Date
Msg-id 20070115171253.5900.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
Whole thread Raw
Responses Re: O_DIRECT support for Windows  (Magnus Hagander <magnus@hagander.net>)
Re: O_DIRECT support for Windows  (Bruce Momjian <bruce@momjian.us>)
Re: [pgsql-patches] O_DIRECT support for Windows  (Bruce Momjian <bruce@momjian.us>)
Re: [pgsql-patches] O_DIRECT support for Windows  (Bruce Momjian <bruce@momjian.us>)
Re: [pgsql-patches] O_DIRECT support for Windows  (Bruce Momjian <bruce@momjian.us>)
List pgsql-patches
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?

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center

Attachment

pgsql-patches by date:

Previous
From: "Jaime Casanova"
Date:
Subject: Re: [PATCHES] Tablespace for temporary objects and sort files
Next
From: Dave Page
Date:
Subject: Re: Allow dumping of roles or tablespaces