> > I didn't check if POSIX folks have thought of that.
>
> Nice addition. Easier to use than fsync() - no need to
> open the file - and probably easier to implement in the
> kernel because this way we'll be handing the whole path
> to the kernel, whereas fsync() would have the dubious
> task of finding out how this file can be traced all the
> way down from the root of the filesystem.
If I understand SUS v2 correctly, fsync() must sync meta data
corresponding to the file.
If Linux ext2 doesn't to that, it might be a good idea to change that so
it does.
-- 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/