From: Greg Farnum Date: Fri, 17 Sep 2010 17:24:02 +0000 (-0700) Subject: ceph: preallocate flock state without locks held X-Git-Tag: v2.6.37-rc1~221^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fca4451acfdcf894154e4809529ca28a09db88ff;p=pandora-kernel.git ceph: preallocate flock state without locks held When the lock_kernel() turns into lock_flocks() and a spinlock, we won't be able to do allocations with the lock held. Preallocate space without the lock, and retry if the lock state changes out from underneath us. Signed-off-by: Greg Farnum Signed-off-by: Sage Weil --- Reading git-diff-tree failed