[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
Thu Dec 4 03:38:13 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: cpinkham
Type: patch | Status: assigned
Priority: minor | Milestone: unknown
Component: mythtv | Version: 0.21-fixes
Severity: low | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------
Changes (by cpinkham):
* owner: ijr => cpinkham
* status: new => assigned
Comment:
This doesn't appear to take into account filesystems which are not
accessible on the master backend, it only does a CheckFile() looking for
the file. That needs to be taken into account before it can be committed.
I also would want this to be an option. I see 2 main balancing ideas
behind Storage Groups. The current mode is to balance I/O load across
filesystems, that takes precendence over disk space. This mode will make
disk space and expirable recordings take precedence over I/O (weight) on a
filesystem. I think that there should be an option to control these two
modes. I think this second mode should set the starting weight of local
filesystems to 0 and might want to sort the directories by free space
first then by weight.
If you want to discuss further, reply on the mailing list. I'm all for
adding a feature like this, but don't want it to take away from current
"balance the I/O load" functionality for those that still prefer the
current mode (like myself).
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5746#comment:4>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list