diff options
author | David Zafman <david.zafman@inktank.com> | 2013-02-11 12:20:23 -0800 |
---|---|---|
committer | David Zafman <david.zafman@inktank.com> | 2013-02-12 17:18:25 -0800 |
commit | 188f3ea6867eeb6e950f6efed18d53ff17522bbc (patch) | |
tree | eed031ca8987c6abefb8437e3a3603888443734a /src/osd/OSD.h | |
parent | 0e9852798b9e6de0d36fa0f2c074ba56d9d777c7 (diff) | |
download | ceph-188f3ea6867eeb6e950f6efed18d53ff17522bbc.tar.gz |
osd/PG: store pg_info_t in leveldb (omap), purged_snaps separately
Separate the purged_snaps portion of pg_info_t (the one that gets big).
Feature #3891: osd: move purged_snaps out of info
Add a separate dirty_big_info flag so that we only update the pginfo
"biginfo" file if that state changes. This lets us avoid the cost in the
general case, like a regular PG write.
Add LEVELDBINFO feature
Put info, biginfo in leveldb
Move epoch to omap
Feature #3892: osd: move pg info into leveldb
Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Reviewed-by: Sam Just <sam.just@inktank.com>
Diffstat (limited to 'src/osd/OSD.h')
-rw-r--r-- | src/osd/OSD.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osd/OSD.h b/src/osd/OSD.h index 015694b8074..c116d4b912a 100644 --- a/src/osd/OSD.h +++ b/src/osd/OSD.h @@ -169,6 +169,7 @@ public: ObjectStore *&store; LogClient &clog; PGRecoveryStats &pg_recovery_stats; + hobject_t infos_oid, biginfos_oid; private: Messenger *&cluster_messenger; Messenger *&client_messenger; |