]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: notify mon when pending PGs are ready to merge
authorSage Weil <sage@redhat.com>
Sat, 17 Feb 2018 17:38:57 +0000 (11:38 -0600)
committerSage Weil <sage@redhat.com>
Fri, 7 Sep 2018 17:08:40 +0000 (12:08 -0500)
commitbbf952125e2f90a7e37f9922bbadae26b922d2ba
tree76c4b69b6174cd5c911e77b5f1dbc66c105b8eda
parenta5274c75e263dd61d9569cfb9dd730cf7921d1e6
osd: notify mon when pending PGs are ready to merge

When a PG is in the pending merge state it is >= pg_num_pending and <
pg_num.  When this happens quiesce IO, peer, wait for activate to commit,
and then notify the mon that we are idle and safe to merge.

Signed-off-by: Sage Weil <sage@redhat.com>
doc/dev/placement-group.rst
src/osd/OSD.cc
src/osd/OSD.h
src/osd/PG.cc
src/osd/osd_types.cc
src/osd/osd_types.h