[mythtv-commits] mythtv commit: r21221 - in trunk/mythtv/programs by cpinkham

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Aug 12 05:27:52 UTC 2009


      Author: cpinkham
        Date: 2009-08-12 05:27:51 +0000 (Wed, 12 Aug 2009)
New Revision: 21221
   Changeset: http://cvs.mythtv.org/trac/changeset/21221

Modified:

   trunk/mythtv/programs/mythbackend/scheduler.cpp
   trunk/mythtv/programs/mythtv-setup/backendsettings.cpp

Log:

Add a new backend setting in mythtv-setup to make the Storage Group's disk
scheduler a bit more flexible.

The disk balancing algorithm is now selectable between the original
(aka 'Combination') method, and two new methods called 'Balanced Free Space'
and 'Balanced Disk I/O'.

'Balanced Free Space' will only look at free space when determining where
to put the next recording.  Disk I/O and local vs remote will not be taken
into account at all.

'Balanced Disk I/O' will only look at the 'weight' (I/O) of the disk when
determining where to put the next recording.  Free space and local vs remote
will not be taken into account at all.

The 'SGweightLocalStarting' now defaults to 0 for any balancing method other
than 'Combination' if you do not have an override set in the DB.  There is
now also a hidden SGweightRemoteStarting setting which can be used to set
the default starting offset for remote filesystems.






More information about the mythtv-commits mailing list