From: Sage Weil Date: Mon, 18 Oct 2010 21:04:31 +0000 (-0700) Subject: ceph: do not carry i_lock for readdir from dcache X-Git-Tag: v2.6.37-rc1~221^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efa4c1206eaff047c474af2136748a58eb8cc33b;p=pandora-kernel.git ceph: do not carry i_lock for readdir from dcache We were taking dcache_lock inside of i_lock, which introduces a dependency not found elsewhere in the kernel, complicationg the vfs locking scalability work. Since we don't actually need it here anyway, remove it. We only need i_lock to test for the I_COMPLETE flag, so be careful to do so without dcache_lock held. Signed-off-by: Sage Weil --- Reading git-diff-tree failed