]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: use monotonic waits in Beacon 23640/head
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 17 Aug 2018 22:03:56 +0000 (15:03 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 21 Aug 2018 21:42:05 +0000 (14:42 -0700)
commita5fc29b95281c6ca58c9177c665c379846beb4b3
tree802857abdaf916d5df43cd194d0db6f9a6ccc4da
parent7a69ebbce76b5ae2fc46a07a27d009366f31a174
mds: use monotonic waits in Beacon

This guarantees that the sender thread cannot be disrupted by system clock
changes. This commit also simplifies the sender thread by manually managing the
thread and avoiding unnecessary context creation.

Fixes: http://tracker.ceph.com/issues/26962
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/Beacon.cc
src/mds/Beacon.h