On Dec 28, 2009, at 11:34 PM, Les Mikesell <lesmikesell at gmail.com> wrote: > Ross Walker wrote: >> On Dec 28, 2009, at 1:41 PM, Les Mikesell <lesmikesell at gmail.com> >> wrote: >> >>> Did linux ever get a working fsync() or does it still flush the >>> entire >>> filesystem buffer? >> >> Working, meaning reliable, or the ability to sync a memory range >> instead of the whole file system? There is sync_page_range() to only >> sync only a range, but I think the biggest issue is whether it >> actually assures it makes it to disk or just out of memory. > > I mean the ability to sync only the buffer associated with the > single file > specified by the file descriptor in the argument - without waiting > for a bunch > of other unrelated and irrelevant data to sync along with it. I'm pretty sure it just flushes the data associated with the file descriptor. -Ross