Re: sync_file_range() - Mailing list pgsql-hackers

From ITAGAKI Takahiro
Subject Re: sync_file_range()
Date
Msg-id 20060619144521.9EAB.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
Whole thread Raw
In response to sync_file_range()  (Christopher Kings-Lynne <chris.kings-lynne@calorieking.com>)
List pgsql-hackers
Christopher Kings-Lynne <chris.kings-lynne@calorieking.com> wrote:

> http://lwn.net/Articles/178199/
> Check out the article on sync_file_range():

> Is that at all useful for PostgreSQL's purposes?

I'm interested in it, with which we could improve responsiveness during
checkpoints. Though it is Linux specific system call, but we could use
the combination of mmap() and msync() instead of it; I mean we can use
mmap only to flush dirty pages, not to read or write pages.

---
ITAGAKI Takahiro
NTT Open Source Software Center




pgsql-hackers by date:

Previous
From: "Qingqing Zhou"
Date:
Subject: Re: kill_prior_tuple for bitmap scan
Next
From: "Qingqing Zhou"
Date:
Subject: Re: sync_file_range()