The change itself is entered atomically by WConfD. A @ConfigSync also
cannot help when synchronizing with other jobs, as the only thing that
this annotations reads before and writes after is the configuration---which
does not include the state of temporary reservations.

Signed-off-by: Klaus Aehlig <[email protected]>
---
 lib/config/__init__.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/config/__init__.py b/lib/config/__init__.py
index 624b2fc..d35ef24 100644
--- a/lib/config/__init__.py
+++ b/lib/config/__init__.py
@@ -1185,7 +1185,6 @@ class ConfigWriter(object):
     if not self._offline:
       self._wconfd.ReleaseDRBDMinors(disk_uuid)
 
-  @ConfigSync()
   def ReleaseDRBDMinors(self, disk_uuid):
     """Release temporary drbd minors allocated for a given disk.
 
-- 
2.4.3.573.g4eafbef

Reply via email to