]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: set stopping to true during suicide()
authorhuanwen ren <ren.huanwen@zte.com.cn>
Thu, 26 May 2016 11:36:38 +0000 (19:36 +0800)
committerhuanwen ren <ren.huanwen@zte.com.cn>
Thu, 26 May 2016 11:36:38 +0000 (19:36 +0800)
commitd5ad9076b0bd218421fb70da32a46368d924730f
treea8638ba62201289627b09cbe45c8576172f47a95
parentff48f9213cbaa9099d21005febce18338819a192
mds: set stopping to true during suicide()

We are using stopping flag everywhere to indicate that a shutdown
procedure of the mds-daemon is already in progress, but we never
set stopping to true correctly.

The suicide() method is the proper place to set the stopping flag
as it is the only exit for mds-daemon.

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
src/mds/MDSDaemon.cc