Re: [PATCH v3] introduce sys_syncfs to sync a single file system

From: Jeff Garzik
Date: Sat Mar 12 2011 - 13:31:43 EST


On 03/11/2011 10:50 PM, Indan Zupancic wrote:
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...

sync_file_range() is not appropriate because that works on only one fd.

The new syscall is fine, and addresses a need.

Jeff


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