ncm(at)zembu(dot)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