Re: Linux 2.6.6 also

Поиск
Список
Период
Сортировка
От Manfred Spraul
Тема Re: Linux 2.6.6 also
Дата
Msg-id 40A297DE.2070208@colorfullife.com
обсуждение исходный текст
Ответ на Linux 2.6.6 also  (Gregory Stark <gsstark@mit.edu>)
Ответы Re: Linux 2.6.6 also
Список pgsql-hackers
Gregory Stark wrote:

>This patch also looks relevant to Postgres for two reasons. 
>
>This part seems like it might expose some bugs that otherwise might have
>remained hidden:
>
>      This affects I/O scheduling potentially quite significantly.  It is no
>      longer the case that the kernel will submit pages for I/O in the order in
>      which the application dirtied them.  We instead submit them in file-offset
>      order all the time.
>
>The part about part-file fdatasync calls seems like could be really useful.
>It seems like that's just speculation about future directions though?
>  
>
Correct. The kernel could do that now, but it's not exposed to user space.

But the change highlights one point: the order in which file blocks are 
written to disk is undefined. Theoretically the wal checkpoint record 
could be on the platter, but the preceeding pages were not written.
Is that case handled by the wal replay code?

--   Manfred



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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: Probably security hole in postgresql-7.4.1
Следующее
От: Shachar Shemesh
Дата:
Сообщение: Re: Probably security hole in postgresql-7.4.1