-
Notifications
You must be signed in to change notification settings - Fork 3
Commits on Apr 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a2fe22f - Browse repository at this point
Copy the full SHA a2fe22fView commit details -
mxqd: Ignore failure to scan JOB_TMPDIR_MNTDIR
Avoid unneeded warning when scanning JOB_TMPDIR_MNTDIR for possible leftover job mounts. The parent directory of JOB_TMPDIR_MNTDIR is created when the first job with the --tmpdir feature is started. So it won't exist in a new server. This cleanup path is only used in the exceptional case that the usual cleanup path (via job_has_finished) didn't succeed, e.g. when mxqd was killed. The cleanup is not essential for the currently running server.
Configuration menu - View commit details
-
Copy full SHA for a1f5b77 - Browse repository at this point
Copy the full SHA a1f5b77View commit details -
Add function attribute ((unusged)) to avoid a compiler warning when the static inline function defined in the header file is not used by the compilation unit.
Configuration menu - View commit details
-
Copy full SHA for f0f5ddd - Browse repository at this point
Copy the full SHA f0f5dddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 459c5a8 - Browse repository at this point
Copy the full SHA 459c5a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9f13bd - Browse repository at this point
Copy the full SHA c9f13bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3961297 - Browse repository at this point
Copy the full SHA 3961297View commit details -
Configuration menu - View commit details
-
Copy full SHA for 106d658 - Browse repository at this point
Copy the full SHA 106d658View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a335e5 - Browse repository at this point
Copy the full SHA 0a335e5View commit details -
Add header file for the quasi-standard [1] xmalloc call. Include x-version of strndup. Other functions (e.g. xrealloc) can be added as needed. The current approach implemented in mx_util is to wait and retry on ENOMEM malloc failure. However, this overhead doesn't seem to be justified, because it is difficult to imagine a case, where a malloc would fail with ENOMEM at one time and a retry would succeed. [1] https://www.gnu.org/software/libc/manual/html_node/Malloc-Examples.html
Configuration menu - View commit details
-
Copy full SHA for 1b6bf14 - Browse repository at this point
Copy the full SHA 1b6bf14View commit details -
Add a utility module which can store a set of keywords. The set can be created and update from a string and can be serialized into a string. The string representation is a space-separated list of keywordis. Strings created by this utility contain the keywords stored in the set sorted in lexical order separated by a single space character. Input strings used to create or update a keyword set contain keywords separated by whitespace. Words from the string are added to the set unless a word starts with '-' in which case it will be removed from the Usage example: struct keywordset *kws = keywordset_new("xxx yyy") keywordset_update(kws, "-yyy aaaa") char *s = keywordset_get(kws): // s now "aaaaa xxx" free(s); // caller must free() if (keywordset_ismember(kws,"xxx")) ... // true keywordset_free(kws);
Configuration menu - View commit details
-
Copy full SHA for 2706f39 - Browse repository at this point
Copy the full SHA 2706f39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 085cb76 - Browse repository at this point
Copy the full SHA 085cb76View commit details -
mxqsub: Add option --disabled-servers
Add a new option so that specific servers can be excluded from starting jobs for this group. E.g.: mxqsub --disabled-servers="dontpanic sigusr2" sleep 100
Configuration menu - View commit details
-
Copy full SHA for 230988e - Browse repository at this point
Copy the full SHA 230988eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a041fcd - Browse repository at this point
Copy the full SHA a041fcdView commit details -
Add a new command which can be used to modify an existing group: mxqset group 123 --closed mxqset group 123 --open mxqset group 123 --disabled-servers=dontpanic mxqset group 123 --update-disabled-servers="sigusr sigusr2 -dontpanic" mxqset group 123 --disabled-servers= The flags open and closed can be set from mxqadmin as well (`mxqadmin --close=123`) , but the synopsis, in which the options take the groupid as a value is difficult to expand to options, which take a value by themself.
Configuration menu - View commit details
-
Copy full SHA for f86710d - Browse repository at this point
Copy the full SHA f86710dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42c1f44 - Browse repository at this point
Copy the full SHA 42c1f44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c7e9c1 - Browse repository at this point
Copy the full SHA 3c7e9c1View commit details -
mxqd: Only start jobs we are qualified for
Check, whether this server is qualified to start jobs from a group. Lazy-evaluate qualification criteria and cache the result. Don't start jobs we are not qualified for. For now, the only qualification criteria is, that our short or fully qualified hostname is not included the the excluded_servers set of the group. This can later be expanded to additional criteria (e.g. hostconfig or processor flags).
Configuration menu - View commit details
-
Copy full SHA for d7abbb2 - Browse repository at this point
Copy the full SHA d7abbb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c6199f - Browse repository at this point
Copy the full SHA 2c6199fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c737da4 - Browse repository at this point
Copy the full SHA c737da4View commit details
Commits on Apr 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b04d939 - Browse repository at this point
Copy the full SHA b04d939View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f7c781 - Browse repository at this point
Copy the full SHA 4f7c781View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6affb1d - Browse repository at this point
Copy the full SHA 6affb1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17613e5 - Browse repository at this point
Copy the full SHA 17613e5View commit details -
xmalloc: Remove poor micro optimization
The optimizing compiler predicts that pointer != NULL is more likely than pointer == NULL anyway. The generated code by "gcc -O2" is the same with or without __builtin_expect builtin. However, probably based on special knowledge of malloc either because of its __attribute__ ((malloc)) declaration or hard-coded, the optimization without the __builtin_expect builtin seems to be a bit more stronger: The function out_of_memory() is put into a .text.unlikely code segment, as if had attribute ((cold)) had been declared for it. Remove __builtin_expect.
Configuration menu - View commit details
-
Copy full SHA for 85c3109 - Browse repository at this point
Copy the full SHA 85c3109View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.