[CentOS] Cnetos 5.4 ext3 question...

Ross Walker rswwalker at gmail.com
Tue Dec 29 05:37:56 UTC 2009


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



More information about the CentOS mailing list