[mythtv-commits] mythtv branch master updated by danielk. v0.27-pre-13-g2b74a68

Git Repo Owner noreply at mythtv.org
Thu Oct 4 14:05:54 UTC 2012

The branch, master has been updated on the
mythtv repository by gitolite user danielk.
       via  2b74a688c41882e373471d54c261642dce05d2c3 (commit)
      from  c473c648892898c6f27a8bf1f28ace2798e610b0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2b74a688c41882e373471d54c261642dce05d2c3
Author:    Daniel Kristjansson <danielk at cuymedia.net> at Thu, 4 Oct 2012 09:56:01 -0400
Committer: Daniel Kristjansson <danielk at cuymedia.net> at Thu, 4 Oct 2012 09:56:01 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=2b74a688c41882e373471d54c261642dce05d2c3

Make RingBuffer::WriterFlush() only flush data not sync it.
The reason we do syncs of the data is so that Linux doesn't build up too
many bufferred writes and freeze up the system later on writing many
GB to disk at once. However the amount of data typically flushed in
this call is not going to greatly increase the amount of data that will
need to be handled on the next fsync and this sync is causing
DTVRecorder::SetNextRecording() to take several seconds, hence
delaying TVRec::SwitchRecordingRingBuffer() and TVRec::StartRecording().
Since TVRec::StartRecording() blocks the scheduler this can mean
recording on other recorders is delayed by several seconds for
each other recorder starting a recording at the same time.


Summary of changes:
 mythtv/libs/libmythtv/ringbuffer.cpp |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)


More information about the mythtv-commits mailing list