Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

Proposed change to disk scheduler

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


ylee at pobox

Jul 28, 2012, 3:04 AM

Post #1 of 1 (212 views)
Permalink
Proposed change to disk scheduler

I opened ticket #10946 because of an inconsistency I found with the
behavior of the Combination disk scheduler versus the Wiki
documentation
(http://www.mythtv.org/wiki/Storage_Groups#Balanced_Free_Space).

I then looked at the code (on 0.24.3, but I presume it hasn't changed
since) in mythbackend/scheduler.cpp, and understood why the behavior I
discuss in the ticket, which Jon Larson also reported in 2008, occurs
despite my setting SGweightLocalStarting to 0. Why does
comp_storage_combination() have hard-wire checks for local versus
remote filesystems? Isn't that what SGweightLocalStarting is for?

I patched scheduler.cpp with the following:
Attachments: patch-10946.diff (0.69 KB)

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.