Re: [HACKERS] [PATCHES] [PERFORM] Direct I/O issues

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Greg Smith <gsmith(at)gregsmith(dot)com>
Cc: PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: [HACKERS] [PATCHES] [PERFORM] Direct I/O issues
Date: 2007-02-08 03:57:22
Message-ID: 200702080357.l183vMA29029@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

Greg Smith wrote:
> 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.

O_DIRECT mention added, and backpatched to 8.2.X.

--
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. +

Attachment Content-Type Size
/rtmp/diff text/x-diff 776 bytes

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Mario Splivalo 2007-02-12 11:43:02 'FOUND' keyword not found in index (pg8.2)
Previous Message bubblboy 2007-02-07 08:02:34 Re: Online documentation unclear about authentication defaults

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2007-02-08 04:01:31 Re: Proposal: Commit timestamp
Previous Message Bruce Momjian 2007-02-08 03:35:50 Re: Proposal: Commit timestamp