It's not as good as fsync() just doing what it's suppose to do.
You'll force applications that want to issue multiple link()s to issue
multiple lsync()s, forcing the kernel to serialize all of the disk
writes when the application just wants one file (and all of it's
associated filenames) to disk.
Yes, I understand that implementing fsync() so that it syncs all names
to reach the file is difficult. But if you want the best performance,
you don't want to make applications issue multiple calls each of which
force their own synchronous writes.
Not to mention us whiny application writers won't be happy throwing
lsync()s all over the place.
Larry
-
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/