]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: allow a copy_from without knowing the src_version
authorSage Weil <sage@inktank.com>
Wed, 11 Sep 2013 22:11:35 +0000 (15:11 -0700)
committerSage Weil <sage@inktank.com>
Tue, 17 Sep 2013 18:06:28 +0000 (11:06 -0700)
commit045b90292abdc9ee04a152213bf8cd2cdf664005
tree92fcadc0cf79ead95c2b1d8ea014dd323fb90e97
parent83f12e46308844dc7a91e141f8428799777af34d
osd: allow a copy_from without knowing the src_version

If we don't specify the version up front, learn the version after the first
chunk and enforce it thereafter to ensure we do not get torn content.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/ReplicatedPG.cc