On Sat, March 12, 2011 19:31, Jeff Garzik wrote:
On 03/11/2011 10:50 PM, Indan Zupancic wrote:
quoted
If sync(2) didn't exist and people wanted to add it I'd complain too. This
has all the problems of sync(2), but with the "not sure if all the files are
on the file system I think" problem added.
You are decades too late, then...
I know.
sync_file_range() is not appropriate because that works on only one fd.
The new syscall is fine, and addresses a need.
The new syscall works on only one fd too. The behaviour of the proposed
syncfs and an extended sync_file_range is exactly the same.
Greetings,
Indan