diff options
author | Kefu Chai <kchai@redhat.com> | 2020-06-09 18:00:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 18:00:34 +0200 |
commit | 2bdbcf2ddfad6c8c6b61bcbf172fabbcf82b70bc (patch) | |
tree | 3a1bc6d17ba44f61721b59b25d9efa20d027f354 /src/crimson/osd/pg_backend.h | |
parent | Merge pull request #35423 from scoopex/master (diff) | |
parent | crimson/osd: fix memory leaks (diff) | |
download | ceph-2bdbcf2ddfad6c8c6b61bcbf172fabbcf82b70bc.tar.xz ceph-2bdbcf2ddfad6c8c6b61bcbf172fabbcf82b70bc.zip |
Merge pull request #34492 from xxhdx1985126/wip-crimson-recovery-block-io-pr
crimson/net: fix system shutdown problems
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/crimson/osd/pg_backend.h')
-rw-r--r-- | src/crimson/osd/pg_backend.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crimson/osd/pg_backend.h b/src/crimson/osd/pg_backend.h index 001e98eb268..bb2637fb328 100644 --- a/src/crimson/osd/pg_backend.h +++ b/src/crimson/osd/pg_backend.h @@ -136,10 +136,12 @@ public: const ghobject_t& oid); virtual void got_rep_op_reply(const MOSDRepOpReply&) {} + virtual seastar::future<> stop() = 0; protected: const shard_id_t shard; CollectionRef coll; crimson::os::FuturizedStore* store; + bool stopping = false; public: struct loaded_object_md_t { ObjectState os; |