pkendall64 at gmail.com
Wed Feb 19 04:36:06 UTC 2014
On Wed, Feb 19, 2014 at 3:28 PM, 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
> > 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
Yes, that was my thinking too. That's why I was wondering whether or not
the full sync would make a difference.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-dev