[mythtv] ringbuffer.cpp

Jonas Arndt jonas.arndt at thearndtfamily.com
Sat Feb 15 00:53:53 UTC 2014

On 02/14/2014 05:49 PM, Jean-Yves Avenard wrote:
> On 15 February 2014 09:33, Jonas Arndt <jonas.arndt at thearndtfamily.com> wrote:
>> So digging further I discovered that the ThreadedFileWriter::Sync(void) is
>> calling fdatasync. This is called by the RingBuffer::Sync(void), which used
>> to be called by the NuppelVideoRecorder in the WriteVideo function. Except
>> that it is commented out. Looking at git I can't see when (too old). I found
>> this entry in the mailing list though about a noisy hard drive
>> http://www.mythtv.org/pipermail/mythtv-dev/2003-June/010629.html
> No, that's not the way it works...
> There is a sync thread started by the ThreadedFileWriter instance,
> this thread calls sync every second.

More information about the mythtv-dev mailing list