]> 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)
committerNathan Cutler <ncutler@suse.com>
Fri, 14 Apr 2017 21:55:34 +0000 (23:55 +0200)
commit5e19692bb68049ea8fed0c39534fe8abb10a5378
tree68e42e25fafb83d6dbc8f275722fd6e445518fa7
parenteb84959bac369dbb86674f9e4225ba1c836c104c
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>
(cherry picked from commit 819394549af10532419d88742fae3a69d2ea487d)
src/mds/MDSRank.cc