Re: Re: WAL and commit_delay - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Re: WAL and commit_delay
Date
Msg-id 6897.982456462@sss.pgh.pa.us
Whole thread Raw
In response to Re: Re: WAL and commit_delay  (ncm@zembu.com (Nathan Myers))
Responses Re: Re: WAL and commit_delay  (ncm@zembu.com (Nathan Myers))
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Microsecond sleeps with select()
Next
From: ncm@zembu.com (Nathan Myers)
Date:
Subject: Re: Re: WAL and commit_delay