> Exactly what is wrong with doing fsync() on the
> directory ?
It's non-portable and a kludge.
> Why do you want us to turn link() and rename()
> into link_slowly() and rename_slowly() ?
Opening up the directory requires lots of inode lookups which are
unnecessary.
> Why can't you use a simple wrapper function to
> do this for you ?
Because it's more inefficient than necessary and it bloats the
application.
-- Matthias Andree - 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/