Skip site navigation (1) Skip section navigation (2)

Re: [pgsql-patches] O_DIRECT support for Windows

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: [pgsql-patches] O_DIRECT support for Windows
Date: 2007-04-13 17:35:46
Message-ID: 200704131735.l3DHZks09850@momjian.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Patch applied by Magnus.

---------------------------------------------------------------------------

ITAGAKI Takahiro wrote:
> 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, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

In response to

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2007-04-13 18:54:13
Subject: Re: build/install xml2 when configured with libxml
Previous:From: Tom LaneDate: 2007-04-13 16:50:33
Subject: Re: [HACKERS] Full page writes improvement, code update

pgsql-patches by date

Next:From: Bruce MomjianDate: 2007-04-13 18:54:13
Subject: Re: build/install xml2 when configured with libxml
Previous:From: Tom LaneDate: 2007-04-13 16:50:33
Subject: Re: [HACKERS] Full page writes improvement, code update

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group