[mythtv-users] Use of fsync

Eric Sharkey eric at lisaneric.org
Tue Oct 22 16:31:09 UTC 2013


On Tue, Oct 22, 2013 at 12:10 PM, Eric Sharkey <eric at lisaneric.org> wrote:
> On Tue, Oct 22, 2013 at 12:02 PM, Gary Buhrmaster
> <gary.buhrmaster at gmail.com> wrote:
>> On Tue, Oct 22, 2013 at 3:18 PM, Rich Freeman
>> For the "average" Linux system, suggesting to Linux to
>> flush the buffer(s) regularly results in an overall improved
>> experience.
>
> Except that fdatasync is more than just a suggestion.  If you wanted
> to use a suggestion, wouldn't posix_fadvise(..., POSIX_FADV_DONTNEED)
> be gentler?

Never mind.  This doesn't work on pages that aren't already on disk.

Eric


More information about the mythtv-users mailing list