-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only accept jobs without --tmpdir when we have 20GB free on MXQ_JOB_TMPDIR_FS or jobs with --tmpdir when we have 20GB more free than the specified size. If --tmpdir was given, create and mount a filesystem for the job using the external helper script `create_job_tmpdir`. The job gets the environment variable TMPDIR set pointing to that directory. Add cleanup code to remove the mountpoints and filesystem images after the job has completed or is lost.
- Loading branch information
Showing
1 changed file
with
125 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters