]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rados.h,ReplicatedPG: add CEPH_OSD_FLAG_ENFORCE_SNAPC and use on flush
authorSamuel Just <sam.just@inktank.com>
Tue, 1 Apr 2014 23:27:20 +0000 (16:27 -0700)
committerSage Weil <sage@inktank.com>
Wed, 30 Apr 2014 22:10:15 +0000 (15:10 -0700)
commit4bac8c7a3f0c12337fdc1c5b3d9f6253d79ee681
treeba7cc0050ca16c883d8689747dc4d6cfcabf59bb
parentd9106ce5e4437ab02279c4d7dfa23ce0d69c59df
rados.h,ReplicatedPG: add CEPH_OSD_FLAG_ENFORCE_SNAPC and use on flush

We need to ensure that even with pool snaps, we use the snapc provided in order
to ensure that the clones are written back correctly.

Fixes: #7941
Signed-off-by: Samuel Just <sam.just@inktank.com>
(cherry picked from commit 499adb1db1cd225c91acce31b5f48fad5145043b)
src/include/rados.h
src/osd/ReplicatedPG.cc
src/osd/osd_types.cc