
john at geode
Sep 28, 2008, 1:53 AM
Post #2 of 5
(475 views)
Permalink
|
|
Re: [mythtv-commits] Ticket #5746: With multiple disk of different sizes, place new recording on partition which will have the lowest priority files deleted
[In reply to]
|
|
Yeechang Lee wrote: > mythtv <mythtv[at]cvs.mythtv.org> says: > >> 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. >> > > I am rebuilding from source with the patch now and am looking forward > to trying the patch out. John, how effective have you found the patch > to deal with what the thread starting at > <URL:http://www.gossamer-threads.com/lists/mythtv/users/346903#346903> > discusses? In particular, does it take into account recordings placed > into the Deleted recording group for later auto-expiration Some background: I discovered this bug during the Beijing games, my system has two disks: 1 500 GB and 1 TB - There was just too much for me to watch. After filling both disks the backend started auto-expiring from the 500 G disk even though the programs were only 5 or 6 days old and much older material (20 days) was on the 1TB disk. What annoyed me the most was that the auto-expire list under the system information menu gave no hint that this was going to occur. So I looked into it and this patch is the result. As to expiration order: I called GetAllExpiring(), the comments for this function indicate that it should return the results in expiring order. So I expect that deleted recordings would be expired first. As to the thread: I note that some prefer the backend to chose the local disks over network drives - this patch will only default to that behaviour if it can't find some of the recordings to do the calculations with. The patch doesn't take into consideration multiple simultaneously recordings, so it may get the ordering slightly wrong but no where near as bad as not having it. In case my system set up matters, I run both front and back end on the same machine: Intel Core 2 duo running at 1.86 GHz, 1GB RAM, 3 dvb tuners, I think 6 simultaneous recordings is my record. Good luck with the rebuild. Regards, John _______________________________________________ mythtv-dev mailing list mythtv-dev[at]mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
|