On Wed, Jan 21, 2009 at 03:15:00AM +0000, Jamie Lokier wrote: > Nick Piggin wrote: > An additional couple of flags to sync_file_range() would sort out the > API: > > SYNC_FILE_RANGE_METADATA > > Commit the file metadata such as modification time and > attributes. Think fsync() versus fdatasync(). Note that the problems with sync_file_range is not that it lacks a metadata flag like fsync vs fdatasync. It is that it does not even sync the metadata required to retrieve the data (which of course fdatasync must do, otherwise it would be useless). This is just another reason why I prefer to just try to evolve the traditional fsync interface slowly. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html