]> 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, 9 May 2018 00:44:24 +0000 (08:44 +0800)
commit0451dae777a2a9b1e70303d7bbc4398849f45f3e
treeae5876d41f47b8ae9eb3d3c3ecc30c752d00496d
parente510e29e011e0f0050de1eb501e478673cefbf08
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
src/mds/MDCache.cc