[mythtv] ringbuffer.cpp

Henk D. Schoneveld belcampo at zonnet.nl
Wed Feb 19 08:43:52 UTC 2014


On 19 Feb 2014, at 03:28, Jean-Yves Avenard <jyavenard at gmail.com> wrote:

> On 19 February 2014 13:24, Paul Kendall <pkendall64 at gmail.com> wrote:
> 
>> Have you considered that the problem may be that we are flushing with
>> fdatasync and the metadata not being flushed may be causing the problem for
>> the reader thread?
>> It would be s simple thing to try by changing sync to a full sync.
> 
> I didn't consider it no...
> 
> What I'm currently attempting is first retrieving the size of the file
> via fstat; and never attempt to read more than what the file is...
> 
> But reading the manpage of fdatasync, in our scenario, it shouldn't
> make a difference as the file size *is* modified...
> 
> it more and more smell like a linux filesystem handling issue; and
> we're just trying to find a way around the problem
Did anyone run iotop -o and look what’s happening on system-level while the problems arise ?
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org



More information about the mythtv-dev mailing list