Re: [CHECKER] Do ext2, jfs and reiserfs respect mount -o sync/dirsync option?

Junfeng Yang
2005-03-04T08:02:21Z

> It may happen that FISC reads the disk before the write command even finished.
> With all the HD head movement optimization in the kernel (block layer,
> boiling down to TCQ/NCQ), this sounds possible.

FiSC "crashes" the kernel immediately after a file system operation
(creat, mkdir, write, etc) returns. Presumably, if a file system is
mounted -o sync, all the FS operations should be done synchronously. i.e.,
if creat("foo") returns, the file "foo" better be on disk. It turns out
not the case for ext2, jfs and reiserfs.

-Junfeng