]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: avoid calling rejoin_gather_finish() two times successively
authorYan, Zheng <zyan@redhat.com>
Tue, 8 May 2018 02:42:05 +0000 (10:42 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 23 May 2018 08:05:56 +0000 (16:05 +0800)
commitc34def7cb842c6907ee3a2bee533e03b840a1c36
treed678f3d97a6ca99079f9d1caf6d31519967e4b83
parent6d4ad6cc2e719f93dc63d600016c46ba48f665ea
mds: avoid calling rejoin_gather_finish() two times successively

If MDCache::rejoin_gather is empty and MDCache::rejoins_pending is true
when MDCache::process_imported_caps() calls maybe_send_pending_rejoins()
Both MDCache::rejoin_send_rejoins() and MDCache::process_imported_caps()
may call rejoin_gather_finish().

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/24047
(cherry picked from commit 0451dae777a2a9b1e70303d7bbc4398849f45f3e)
src/mds/MDCache.cc