• Ilya Dryomov's avatar
    crush: remove mutable part of CRUSH map · 66a0e2d5
    Ilya Dryomov authored
    Then add it to the working state. It would be very nice if we didn't
    have to take a lock to calculate a crush placement. By moving the
    permutation array into the working data, we can treat the CRUSH map as
    immutable.
    
    Reflects ceph.git commit cbcd039651c0569551cb90d26ce27e1432671f2a.
    Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
    66a0e2d5
mapper.c 24.9 KB