• Leigh B. Stoller's avatar
    When allocating widearea virtual nodes, look for a global capacity · 1ce85191
    Leigh B. Stoller authored
    attribute in the types table to cap the number of allowed virtual
    nodes on each physnode (by type). We have to look in the reserved
    table to see how many already allocated on each physnode, and adjust
    the counts accordingly. Doing it here (via assign_wrapper) is not
    atomic and so it could fail to catch an over subscription, but on a
    lightly used testbed this will not be a problem in practice.
    1ce85191
ptopgen.in 30.2 KB