]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/osd_types: add pg_t::is_merge() method
authorSage Weil <sage@redhat.com>
Fri, 16 Feb 2018 03:13:27 +0000 (21:13 -0600)
committerSage Weil <sage@redhat.com>
Fri, 7 Sep 2018 17:07:56 +0000 (12:07 -0500)
commit054049246120e15fd8ae7ba4efda526f81d2f0d3
tree1c187d1eb67f7791cdafa27fc5904b47e72841a6
parent71f4691909a3b7765eba5f1de4066ee380bcce70
osd/osd_types: add pg_t::is_merge() method

This checks if we are a merge *source*, and if so, who the parent (target)
will be.

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