diff options
author | Daniel Gryniewicz <dang@redhat.com> | 2016-07-28 20:39:07 +0200 |
---|---|---|
committer | Daniel Gryniewicz <dang@redhat.com> | 2016-07-29 17:34:21 +0200 |
commit | bc299e56e46e5712ebe91492cf683b51fe0db125 (patch) | |
tree | 145aebee5181ffa0f831869a5cdd7c3275857339 /src/rgw/rgw_lc.h | |
parent | Merge pull request #10409 from weiqiaomiao/wqm-wip-rgw-reboot (diff) | |
download | ceph-bc299e56e46e5712ebe91492cf683b51fe0db125.tar.xz ceph-bc299e56e46e5712ebe91492cf683b51fe0db125.zip |
Clean up lifecycle thread
Make sure that the lifecycle thread is terminated and all memory is
cleaned up on shutdown.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Diffstat (limited to 'src/rgw/rgw_lc.h')
-rw-r--r-- | src/rgw/rgw_lc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rgw/rgw_lc.h b/src/rgw/rgw_lc.h index 0c4126c1ece..30d2f2b0223 100644 --- a/src/rgw/rgw_lc.h +++ b/src/rgw/rgw_lc.h @@ -179,6 +179,7 @@ class RGWLC { RGWRados *store; int max_objs; string *obj_names; + atomic_t down_flag; class LCWorker : public Thread { CephContext *cct; |