@ConfigSync() synchronises on the configuration which do not contain temporary reservations. The synchronisation used to be necessary when the write was done by non-atomic changes in python which is not the case any more. While not important from a performance point of view, cleaning up incorrect synchronisation realm improves readability of the code and prevent wrong assumptions. (Also note that allocation of a DRBD minor isn't synced already.)
Klaus Aehlig (2): Remove @ConfigSync for ReleaseDRBDMinors Merge _UnlockedReleaseDRBDMinors into ReleaseDRBDMinors lib/config/__init__.py | 18 +----------------- test/py/testutils/config_mock.py | 6 +++--- 2 files changed, 4 insertions(+), 20 deletions(-) -- 2.4.3.573.g4eafbef
