commit | efa4c1206eaff047c474af2136748a58eb8cc33b | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Mon Oct 18 14:04:31 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Wed Oct 20 15:38:27 2010 -0700 |
tree | 61f8957ed7735c01a6d6900a3c4c2c45d084c3a7 | |
parent | 61413c2f594e6b63db2b14c70c2e7d8cf02f9c00 [diff] |
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 <sage@newdream.net>