summaryrefslogtreecommitdiffstats
path: root/src/journal/JournalPlayer.h
diff options
context:
space:
mode:
authorJason Dillaman <dillaman@redhat.com>2016-02-24 02:44:29 +0100
committerJason Dillaman <dillaman@redhat.com>2016-02-26 17:54:52 +0100
commit91ea6da859cd23a3a0e484c15e4511410e142f8c (patch)
treef159bdd9d7db550c75dbfcd2a1a5bec6b95c4b90 /src/journal/JournalPlayer.h
parentjournal: update JournalMetadata to support new commit handling (diff)
downloadceph-91ea6da859cd23a3a0e484c15e4511410e142f8c.tar.xz
ceph-91ea6da859cd23a3a0e484c15e4511410e142f8c.zip
journal: update JournalPlayer to support new commit tracking
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'src/journal/JournalPlayer.h')
-rw-r--r--src/journal/JournalPlayer.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/journal/JournalPlayer.h b/src/journal/JournalPlayer.h
index 54b4a93f2a1..a07728ec0a2 100644
--- a/src/journal/JournalPlayer.h
+++ b/src/journal/JournalPlayer.h
@@ -40,9 +40,9 @@ public:
private:
typedef std::set<uint8_t> PrefetchSplayOffsets;
- typedef std::map<uint64_t, uint64_t> AllocatedEntryTids;
typedef std::map<uint64_t, ObjectPlayerPtr> ObjectPlayers;
typedef std::map<uint8_t, ObjectPlayers> SplayedObjectPlayers;
+ typedef std::map<uint8_t, ObjectPosition> SplayedObjectPositions;
enum State {
STATE_INIT,
@@ -96,8 +96,7 @@ private:
PrefetchSplayOffsets m_prefetch_splay_offsets;
SplayedObjectPlayers m_object_players;
uint64_t m_commit_object;
- uint64_t m_commit_tag_tid;
- AllocatedEntryTids m_commit_tids;
+ SplayedObjectPositions m_commit_positions;
void advance_splay_object();