Home
last modified time | relevance | path

Searched hist:efa4c1206eaff047c474af2136748a58eb8cc33b (Results 1 – 2 of 2) sorted by relevance

/linux/fs/ceph/
H A Ddir.cdiff efa4c1206eaff047c474af2136748a58eb8cc33b Mon Oct 18 23:04:31 CEST 2010 Sage Weil <sage@newdream.net> 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>
H A Dsuper.hdiff efa4c1206eaff047c474af2136748a58eb8cc33b Mon Oct 18 23:04:31 CEST 2010 Sage Weil <sage@newdream.net> 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>