]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/: switch all users of PGTransaction to use the new structure
authorSamuel Just <sjust@redhat.com>
Fri, 12 Aug 2016 15:42:12 +0000 (08:42 -0700)
committerSamuel Just <sjust@redhat.com>
Thu, 17 Nov 2016 18:40:17 +0000 (10:40 -0800)
commit2c99f864df7f8835d0cfd4c86283fb31dd54f4a1
tree38243d791c64cd8ee8a1c3b74940765aba734973
parent20204b642a8ef138c9f7a1cd6a43c1a2bddee14f
osd/: switch all users of PGTransaction to use the new structure

This patch removes ReplicatedBackend::PGTransaction and implemenations
and switches over all users.  Happily, do_osd_ops loses the mod_desc
cruft and OpContext::pending_attrs.  PGTransaction doesn't really
have a natural way to implement append, however.  In reality, I think
this is probably an improvement, but it does mean that copy_from's
final transaction is now filled in by a lambda rather than by
appending a transaction fragment.

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