]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: implement clonerange
authorSage Weil <sage.weil@dreamhost.com>
Thu, 2 Jun 2011 20:22:59 +0000 (13:22 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Thu, 2 Jun 2011 20:24:09 +0000 (13:24 -0700)
commita670b4b3c50a374a3fc14cc58bfc3b8c1627f9a1
tree52ea8f675e54ec770da323a83fc73023b1afc9b5
parentfc4cc399f86d02c8d95dee7963f697b6069886ea
osd: implement clonerange

Clone ranges of bytes between objects, provided

 - src object locators match dest object
 - src objects are not missing
 - src objects are all head (CEPH_NOSNAP)
 -

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/osd/OSD.cc
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h