Changing locking method for setting crush map