Re: Re: WAL and commit_delay

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: WAL and commit_delay
Дата
Msg-id 6897.982456462@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: WAL and commit_delay  (ncm@zembu.com (Nathan Myers))
Ответы Re: Re: WAL and commit_delay  (ncm@zembu.com (Nathan Myers))
Список pgsql-hackers
ncm@zembu.com (Nathan Myers) writes:
> In the 2.4 kernel it says (fs/buffer.c)

>    /* this needs further work, at the moment it is identical to fsync() */
>    down(&inode->i_sem);
>    err = file->f_op->fsync(file, dentry);
>    up(&inode->i_sem);

Hmm, that's the same code that's been there since 2.0 or before.
I had trawled the Linux kernel mail lists and found patch submissions
from several different people to make fdatasync really work, and what
I thought was an indication that at least one had been applied.
Evidently not.  Oh well...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Microsecond sleeps with select()
Следующее
От: ncm@zembu.com (Nathan Myers)
Дата:
Сообщение: Re: Re: WAL and commit_delay