Re: sync_file_range() - Mailing list pgsql-hackers

From Florian Weimer
Subject Re: sync_file_range()
Date
Msg-id 87u06hxfcr.fsf@mid.deneb.enyo.de
Whole thread Raw
In response to Re: sync_file_range()  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-hackers
* Simon Riggs:

> Other files are fsynced at checkpoint - always all dirty blocks in the
> whole file.

Optionally, sync_file_range does not block the calling process, so
it's very easy to flush all files at once, which could in theory
reduce seeking overhead.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Getting rid of extra gettimeofday() calls
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Getting rid of extra gettimeofday() calls