fsync(dir) redux

Richard A Nelson (cowboy@debian.org)
Tue, 4 Sep 2001 18:43:20 -0400 (EDT)


Ok, I've got now got open(dir);fsync(dir);close(dir) after my
rename,unlink, and link calls.

Now, I need to know when its needed, and when it isn't allowed!
I seem to recall that newer Reiserfs wouldn't need it, is that true?
and if so, at what level?.

How about xfs, jfs, etc ?

I also seem to recall discussion that some of this might wind up
supported in VFS?

Lastly, I just received an error report from a user who is getting
fsync(dir) errors on an NFS mounted directory ?!?!?

-- 
Rick Nelson
"...and scantily clad females, of course.  Who cares if it's below zero
outside"
(By Linus Torvalds)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/