[mythtv] [PATCH] RingBuffer - fsync thread
Isaac Richards
ijr at case.edu
Sun Dec 12 06:05:40 UTC 2004
On Sunday 12 December 2004 12:42 am, Hamish Moffatt wrote:
> On Sat, Dec 11, 2004 at 08:57:37PM -0700, John Patrick Poet wrote:
> > As Isaac suggested, this patch moves the fdatasync(fd) call to it's own
> > thread. The means that the ThreadedFileWriter does not have to wait for
> > that call to return before processing data.
>
> 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.
Isaac
More information about the mythtv-dev
mailing list