]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: separate cleanup from PGBackend::on_change()
authorSage Weil <sage@inktank.com>
Tue, 8 Jul 2014 23:10:58 +0000 (16:10 -0700)
committerSage Weil <sage@redhat.com>
Wed, 23 Jul 2014 22:04:33 +0000 (15:04 -0700)
commitf03110f3889ce7340c64f19358840b2425c93f68
tree2e98f70621947733eb7763c3e579233fcfc0a3e6
parent42ad241efab751a1d4f50d5a748d91d0fe967844
osd: separate cleanup from PGBackend::on_change()

The generic portion of on_change() cleaned up temporary on-disk objects
and requires a Transaction.  The rest is clearing out in-memory state and
does not.  Separate the two.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit e299357e2a24474ab7a02e65ca0279336fd04b76)
src/osd/ECBackend.cc
src/osd/ECBackend.h
src/osd/PGBackend.cc
src/osd/PGBackend.h
src/osd/ReplicatedBackend.cc
src/osd/ReplicatedBackend.h
src/osd/ReplicatedPG.cc