Commit 475242f6 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Remove constants for iallocator multi-relocate



They're no longer necessary.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 519edd9f
......@@ -955,14 +955,12 @@ VALID_IALLOCATOR_DIRECTIONS = frozenset([
IALLOCATOR_MODE_ALLOC = "allocate"
IALLOCATOR_MODE_RELOC = "relocate"
IALLOCATOR_MODE_MEVAC = "multi-evacuate"
IALLOCATOR_MODE_MRELOC = "multi-relocate"
IALLOCATOR_MODE_CHG_GROUP = "change-group"
IALLOCATOR_MODE_NODE_EVAC = "node-evacuate"
VALID_IALLOCATOR_MODES = frozenset([
IALLOCATOR_MODE_ALLOC,
IALLOCATOR_MODE_RELOC,
IALLOCATOR_MODE_MEVAC,
IALLOCATOR_MODE_MRELOC,
IALLOCATOR_MODE_CHG_GROUP,
IALLOCATOR_MODE_NODE_EVAC,
])
......@@ -977,16 +975,6 @@ IALLOCATOR_NEVAC_MODES = frozenset([
IALLOCATOR_NEVAC_ALL,
])
# TODO: Remove multi-relocate constants, including IALLOCATOR_MODE_MRELOC
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_VERSION = 1
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