]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG::_rollback_to: update the OMAP flag 8495/head
authorSamuel Just <sjust@redhat.com>
Fri, 1 Apr 2016 18:33:40 +0000 (11:33 -0700)
committerSamuel Just <sjust@redhat.com>
Fri, 1 Apr 2016 21:38:12 +0000 (14:38 -0700)
commit554d1b4f59b90e17ceeff8b1fa4f051b10735c09
treeab51b3a4566e3fb4a4498d70ea42f7191b6dd73a
parentf53cb1289aec75256305e53f8b8deaa9172e4c8e
ReplicatedPG::_rollback_to: update the OMAP flag

We don't simply copy over the whole flag field because not all values
should necessarily be carried over from the clone.  Particularly,
FLAG_CACHE_PIN should not be overridden.

Fixes: http://tracker.ceph.com/issues/14777
Backport: hammer, infernalis
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/ReplicatedPG.cc