]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: improve freeze tree deadlock detection
authorYan, Zheng <zheng.z.yan@intel.com>
Wed, 15 Jan 2014 08:49:23 +0000 (16:49 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Mon, 17 Feb 2014 01:37:51 +0000 (09:37 +0800)
commit9a47913d2062aec65da36d2ace30afb03f79f63f
tree5702d5365a4a3d8fd17c3208e0895631df11da6f
parent8079939534822ef15e9ece8eae48312440ad76a9
mds: improve freeze tree deadlock detection

Current code uses the start time of freezing tree to detect deadlock.
It is better to check how long the auth pin count of freezing tree
stays unchanged to decide if there is potential deadlock.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/mds/Migrator.cc
src/mds/Migrator.h