Commit 23cfbaab authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Add constants for multi-relocation iallocator mode


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 73cdf9a3
...@@ -950,13 +950,24 @@ VALID_IALLOCATOR_DIRECTIONS = frozenset([ ...@@ -950,13 +950,24 @@ VALID_IALLOCATOR_DIRECTIONS = frozenset([
IALLOCATOR_MODE_ALLOC = "allocate" IALLOCATOR_MODE_ALLOC = "allocate"
IALLOCATOR_MODE_RELOC = "relocate" IALLOCATOR_MODE_RELOC = "relocate"
IALLOCATOR_MODE_MEVAC = "multi-evacuate" IALLOCATOR_MODE_MEVAC = "multi-evacuate"
IALLOCATOR_MODE_MRELOC = "multi-relocate"
VALID_IALLOCATOR_MODES = frozenset([ VALID_IALLOCATOR_MODES = frozenset([
IALLOCATOR_MODE_ALLOC, IALLOCATOR_MODE_ALLOC,
IALLOCATOR_MODE_RELOC, IALLOCATOR_MODE_RELOC,
IALLOCATOR_MODE_MEVAC, IALLOCATOR_MODE_MEVAC,
IALLOCATOR_MODE_MRELOC,
]) ])
IALLOCATOR_SEARCH_PATH = _autoconf.IALLOCATOR_SEARCH_PATH IALLOCATOR_SEARCH_PATH = _autoconf.IALLOCATOR_SEARCH_PATH
IALLOCATOR_MRELOC_ANY = "any_group"
IALLOCATOR_MRELOC_CHANGE = "change_group"
IALLOCATOR_MRELOC_KEEP = "keep_group"
IALLOCATOR_MRELOC_MODES = frozenset([
IALLOCATOR_MRELOC_ANY,
IALLOCATOR_MRELOC_CHANGE,
IALLOCATOR_MRELOC_KEEP,
])
# Job queue # Job queue
JOB_QUEUE_VERSION = 1 JOB_QUEUE_VERSION = 1
JOB_QUEUE_LOCK_FILE = QUEUE_DIR + "/lock" JOB_QUEUE_LOCK_FILE = QUEUE_DIR + "/lock"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment