Commit 6b95b76d authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

mcpu: Remove unused exclusive_BGL attribute

Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarGuido Trotter <>
parent 5aab242c
......@@ -130,7 +130,6 @@ class Processor(object):
self.context = context
self._cbs = None
self.exclusive_BGL = False
self.rpc = rpc.RpcRunner(context.cfg)
self.hmclass = HooksMaster
......@@ -295,14 +294,12 @@ class Processor(object):
self._ReportLocks(locking.LEVEL_CLUSTER, [locking.BGL],
not lu_class.REQ_BGL, True)
self.exclusive_BGL = lu_class.REQ_BGL
lu = lu_class(self, op, self.context, self.rpc)
assert lu.needed_locks is not None, "needed_locks not set by LU"
result = self._LockAndExecLU(lu, locking.LEVEL_INSTANCE)
self.exclusive_BGL = False
self._cbs = None
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment