Re: sync_file_range()

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема Re: sync_file_range()
Дата
Msg-id e75juu$1ou4$1@news.hub.org
обсуждение исходный текст
Ответ на sync_file_range()  (Christopher Kings-Lynne <chris.kings-lynne@calorieking.com>)
Ответы Re: sync_file_range()  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Re: sync_file_range()  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
"ITAGAKI Takahiro" <itagaki.takahiro@oss.ntt.co.jp> wrote
>
>
> 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.
>

Can you specify details? As the TODO item inidcates, if we mmap data file, a
serious problem is that we don't know when the data pages hit the disks -- 
so that we may voilate the WAL rule.

Regards,
Qingqing




В списке pgsql-hackers по дате отправления:

Предыдущее
От: ITAGAKI Takahiro
Дата:
Сообщение: Re: sync_file_range()
Следующее
От: "Zeugswetter Andreas DCP SD"
Дата:
Сообщение: Re: MultiXacts & WAL