]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/: Update PGBackend users to project last_update and submit stat deltas
authorSamuel Just <sjust@redhat.com>
Fri, 21 Oct 2016 21:33:08 +0000 (14:33 -0700)
committerSamuel Just <sjust@redhat.com>
Thu, 17 Nov 2016 18:41:33 +0000 (10:41 -0800)
commitf7b55ec14415811d750e79838f746a91106ba81e
treedcc053d12869e67983bee6c0c71b039964e52802
parent1e95f2ce642485e25b74f7d873fda7e4b75a425f
osd/: Update PGBackend users to project last_update and submit stat deltas

The RMW pipeline means that we don't start committing an update
immediately, so we can't update the log syncronously with
submit_transaction.  Thus, in order to pipeline writes, PG/ReplicatedPG
will need to project last_update and abstain from updating info
directly (updating info.stats was the only offender).

Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/PG.cc
src/osd/PG.h
src/osd/PGBackend.h
src/osd/ReplicatedBackend.cc
src/osd/ReplicatedBackend.h
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h