]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PGLog: merge_from helper
authorSage Weil <sage@redhat.com>
Fri, 13 Apr 2018 22:16:41 +0000 (17:16 -0500)
committerSage Weil <sage@redhat.com>
Fri, 7 Sep 2018 17:08:40 +0000 (12:08 -0500)
commit7074ad4a56550f4d146308e1532fbfa7d2d26f0b
tree67264f302d77d405824536fd47985a93d0f21d92
parent27168cf5021575d342a27d343f6cae77b116710c
osd/PGLog: merge_from helper

When merging two logs, we throw out all of the actual log entries.
However, we need to convert them to dup ops as appropriate, and merge
those together.  Reuse the trim code to do this.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PGLog.h
src/osd/osd_types.h