Re: ext3-2.4-0.9.4

Linus Torvalds
2001-07-26T15:53:45Z

In article <20010726143002.E17244@emma1.emma.line.org>,
Matthias Andree <matthias.andree@stud.uni-dortmund.de> wrote:
>
>However, the remaining problem is being synchronous with respect to open
>(fixed for ext3 with your fsync() as I understand it), rename, link and
>unlink. With ext2, and as you write it, with ext3 as well, there is
>currently no way to tell when the link/rename has been committed to
>disk, unless you set mount -o sync or chattr +S or call sync() (the
>former is not an option because it's far too expensive).

Congratulations. You have been brainwashed by Dan Bernstein.

Use fsync() on the directory.

Logical, isn't it?

Linus