]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: update snap_mapper for promoted clones
authorSage Weil <sage@inktank.com>
Fri, 27 Dec 2013 01:32:43 +0000 (17:32 -0800)
committerSage Weil <sage@inktank.com>
Tue, 14 Jan 2014 00:19:42 +0000 (16:19 -0800)
commitc05765e8bb2abc3fc50c0ee9bf2f4a9d2fb70162
tree135dade9fcc19e4720e913963db78ab27001d1bd
parent5c94d530fbbc73d139c30cf91e0c858bf12a29a9
osd/ReplicatedPG: update snap_mapper for promoted clones

A clone that comes into existence via promotion takes an entirely
different path than a typical clone (which comes into existence via a
CLONE op in make_writeable()).  Make sure snap_mapper is updated
accordingly.

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