O_NOATIME

From: Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: O_NOATIME
Date: 2006-08-03 20:35:14
Message-ID: eatmlt$qd7$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Would people be interested in a trivial patch that adds O_NOATIME
to open() for platforms that support it? (apparently Linux 2.6.8
and better).

It seems to work here, feels harmless to me (an easy ifdef to
check if it's there), and seems it would theoretically help,
though I don't notice a consistent difference (I guess I"m not
thrashing my disks hard enough?). Are there any open()s where
we don't want NOATIME if available?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-08-03 20:38:24 Re: O_NOATIME
Previous Message Tom Lane 2006-08-03 20:18:53 Re: User-defined typle similar to char(length) varchar(length)