On 08/16/2012 06:23 AM, Aryeh Gregor wrote:
On Thu, Aug 16, 2012 at 4:18 PM, Ben Hearsum <bhear...@mozilla.com> wrote:
I don't think this would be any more than a one-time win until the disk
fills up. At the start of each job we ensure there's enough space to do
the current job. By moving the objdir away we'd avoiding doing any clean
up until we need more space than is available. After that, each job
would still end up cleaning up roughly one objdir to clean up enough
space to run.
Why can't you move it, then spawn a background thread to remove it at
minimum priority? IIUC, Vista and later support I/O prioritization,
Brian Bondy just added I/O prioritization to our code that removes
corrupt HTTP caches, in bug 773518, in case that code helps.
Jason
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform