]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/osd_types: add pg_pool_t FLAG_COMPLETE_CLONES
authorSage Weil <sage@redhat.com>
Thu, 24 Jul 2014 01:21:38 +0000 (18:21 -0700)
committerSage Weil <sage@redhat.com>
Thu, 24 Jul 2014 17:06:55 +0000 (10:06 -0700)
commit54bf055c5dadc55acf5731e08712d529b180ffc5
treede68544c864c0ec109f83913a7aaeac7a03f0f92
parent67d13d76f5692fa20649ea877f254c34094c11f6
osd/osd_types: add pg_pool_t FLAG_COMPLETE_CLONES

Set a flag on the pg_pool_t when we change cache_mode NONE.  This
is because object promotion may promote heads without all of the clones,
and when we switch the cache_mode back those objects may remain.  Do
this on any cache_mode change (to or from NONE) to capture legacy
pools that were set up before this flag existed.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc
src/osd/osd_types.h