]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: restore op_applied in PGBackend
authorSage Weil <sage@redhat.com>
Fri, 16 Mar 2018 19:57:27 +0000 (14:57 -0500)
committerSage Weil <sage@redhat.com>
Fri, 16 Mar 2018 22:20:29 +0000 (17:20 -0500)
commit2f7ca451c2e54287f1b2342e933e37e592780211
tree4c5b79904d8993b8632084c5fef40acd1017161a
parent6da45c30ddee965be92eefa7d68cfb8fd5be25bb
osd/PrimaryLogPG: restore op_applied in PGBackend

Call it when we queue the submitted write.  For ReplicatedPG this is
inside submit_transaction(), and for ECBackend it's when we finally
submit the write for disk (possibly delayed by a read/modify/write).

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/ECBackend.cc
src/osd/PGBackend.h
src/osd/PrimaryLogPG.cc
src/osd/PrimaryLogPG.h
src/osd/ReplicatedBackend.cc