[mythtv-commits] mythtv commit: r20303 - in trunk/mythtv by janne

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sat Apr 4 16:09:30 UTC 2009


      Author: janne
        Date: 2009-04-04 16:09:30 +0000 (Sat, 04 Apr 2009)
New Revision: 20303
   Changeset: http://cvs.mythtv.org/trac/changeset/20303

Modified:

   trunk/mythtv/configure
   trunk/mythtv/libs/libmythtv/ThreadedFileWriter.cpp
   trunk/mythtv/libs/libmythtv/ThreadedFileWriter.h

Log:

use sync_file_range instead f{data}sync if available

fsync and fdatasync on ext3 file systems mounted with data=ordered
can impose severe io latencies for other processes writing to the same
disk or file sytem. The linux specific system call sync_file_range
enforces writes of the page cache with less severe side effects.  





More information about the mythtv-commits mailing list