[mythtv] [PATCH] RingBuffer - fsync thread

David =?unknown-8bit?Q?H=E4rdeman?= david at 2gen.com
Sun Dec 12 11:02:06 UTC 2004


On Sun, Dec 12, 2004 at 01:05:40AM -0500, Isaac Richards wrote:
>On Sunday 12 December 2004 12:42 am, Hamish Moffatt wrote:
>> What is the need to force a sync anyway?
>
>Kernel tends to store up unsynced writes for a while and then decide to commit 
>them to disk all at once without it, which can cause a nice little cascading 
>hiccup in the recording.
>

Maybe posix_fadvise would be an alternative solution on 2.6 kernels?

//David


More information about the mythtv-dev mailing list