Re: [PATCHES] [PERFORM] Direct I/O issues - Mailing list pgsql-hackers

From Greg Smith
Subject Re: [PATCHES] [PERFORM] Direct I/O issues
Date
Msg-id Pine.GSO.4.64.0611250357070.29486@westnet.com
Whole thread Raw
List pgsql-hackers
On Fri, 24 Nov 2006, Bruce Momjian wrote:

> OK, I modified test_fsync.c by copying the defines from xlog.c, and
> fixed the O_DIRECT alignment and check write()/fsync().

I just tested your new test_fsync as included in the 8.2rc1, and it's 
working perfectly for me now on Linux.  All the O_SYNC writes using 
O_DIRECT are reporting realistic timings.  I'm happy that this code is 
working as it should and appreciate the quick response.  I still think the 
wal_sync_method documentation deserves an update noting that O_DIRECT is 
used when available with the sync write methods.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD


pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: First Release Candidate Uploaded ...
Next
From: Tatsuo Ishii
Date:
Subject: Re: First Release Candidate Uploaded ...