[mythtv-commits] Ticket #12045: Live TV after a short while always make the frontend hang

MythTV noreply at mythtv.org
Sat Feb 15 05:36:35 UTC 2014


#12045: Live TV after a short while always make the frontend hang
----------------------------------+----------------------------
 Reporter:  jyavenard             |          Owner:
     Type:  Bug Report - General  |         Status:  new
 Priority:  blocker               |      Milestone:  unknown
Component:  MythTV - Recording    |        Version:  0.27-fixes
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+----------------------------

Comment (by jyavenard):

 In TFW; the actual sync to disk was made in a separate thread, and a sync
 called every second...

 This seemed convoluted to me; also was a bit unsure on how the system
 would behave when you have one thread calling write and another sync() at
 the same time (as it happens from time to time).

 So this patch changes the behaviour. Instead sync() is called after a
 write operation, but at a maximum rate of once every second.

 Also changes the log so there's no log when a read takes more than 250ms
 but less than 500ms... This seriously reduces the verbosity on my system.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12045#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list