]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: flush log when we hit xlock during path traversal
authorSage Weil <sage@inktank.com>
Fri, 8 Mar 2013 20:57:58 +0000 (12:57 -0800)
committerSage Weil <sage@inktank.com>
Wed, 13 Mar 2013 23:36:56 +0000 (16:36 -0700)
commit3975774d4d5e2d61332390c7e2a0c604af8a10d8
tree6e452595975acd2f5e0da611636168e0637c6d7d
parente47d4906845ef35a657702177963989b75907b0d
mds: flush log when we hit xlock during path traversal

This ensures we don't stall out waiting for a lock state to change.

This fixes ~4-5 second stalls easily reproducible and visible with
ceph-fuse and 'dbench 1'.

Signed-off-by: Sage Weil <sage@inktank.com>
src/mds/MDCache.cc