]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: defer cancelling the timer event
authorXiubo Li <xiubli@redhat.com>
Tue, 11 Aug 2020 02:03:11 +0000 (10:03 +0800)
committerXiubo Li <xiubli@redhat.com>
Mon, 31 Aug 2020 01:12:14 +0000 (21:12 -0400)
commit5f4b2170df536d2cc46086bbd0a4ff427bfa0f4c
treea15a96f843a2b05bdc396fd1c034db6ad79c5430
parent01f3dcf81b10606a906b8060b47687b90e8efa1f
client: defer cancelling the timer event

If there has to much data need to flush or the osd couldn't handle
writting the data to disk and response on time, the client will be
blacklisted by mds.

Let's just defer cancelling the timer event just before closing
the mds sessions.

Fixes: https://tracker.ceph.com/issues/46905
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/client/Client.cc
src/client/Client.h