]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: heartbeat_reset in dispatch
authorJohn Spray <john.spray@redhat.com>
Mon, 6 Mar 2017 11:24:50 +0000 (11:24 +0000)
committerJohn Spray <john.spray@redhat.com>
Mon, 6 Mar 2017 11:25:51 +0000 (11:25 +0000)
commit819394549af10532419d88742fae3a69d2ea487d
treecec98bd56cd2fec0287232a3f163dd5e3bb42eed
parentf903f2f3fd8b37adf58b50f9ab980c29fcc9dc5b
mds: heartbeat_reset in dispatch

Previously we only heartbeated in tick.  However, our locking is
not guaranteed to be fair, so on a super-busy dispatch queue it may be
possible for the heartbeat to time out while the tick() function
is waiting for mds_lock.

Fixes: http://tracker.ceph.com/issues/19118
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDSRank.cc