LUInstanceCreate: Acquire node allocation lock
authorMichael Hanselmann <hansmi@google.com>
Thu, 22 Nov 2012 17:56:26 +0000 (18:56 +0100)
committerMichael Hanselmann <hansmi@google.com>
Tue, 4 Dec 2012 10:56:43 +0000 (11:56 +0100)
commit5cc1f887224a4f56b2718fb782cd6241fa1372bf
tree59f7cfd482d190487d18d03d996edcff39f06a5b
parent2cb3181a8a5369af2911601ef69b268a167726de
LUInstanceCreate: Acquire node allocation lock

Opportunistic locks are not yet used. This patch changes
LUInstanceCreate to acquire the node allocation lock to avoid conflicts
with other opcodes acquiring many node locks.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/cmdlib.py