[mythtv-commits] Ticket #5746: With multiple disk of different sizes, place new recording on partition which will have the lowest priority files deleted
MythTV
mythtv at cvs.mythtv.org
Sat Sep 27 15:26:18 UTC 2008
#5746: With multiple disk of different sizes, place new recording on partition
which will have the lowest priority files deleted
-------------------------------------+--------------------------------------
Reporter: John.r.fulton at gmail.com | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: 0.21-fixes
Severity: low | Mlocked: 0
-------------------------------------+--------------------------------------
When using multiple disks of different sizes the new recording is not
always placed on the disk which has the lowest priority files to be
expired.
This patch adds a new pass to the placement algorithm which simulates
expiring the old files in the users required order. When a partion is
found with enough space that partition is selected for the new file.
pass 1: As before - find any partition with enough space to fit the file
pass 2: simulate expiration until a partition is found with enough space
pass 3: (old pass 2) - find any partition that will take the file.
I've tested this patch for over a month (it takes that long) with 1 TB
and 1 500 GB disk.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5746>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list