]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/PG: keep PG alive until the final onreadable context under old ch is done
authorSage Weil <sage@redhat.com>
Fri, 9 Feb 2018 23:36:44 +0000 (17:36 -0600)
committerSage Weil <sage@redhat.com>
Mon, 12 Feb 2018 20:35:28 +0000 (14:35 -0600)
commite48d236053de9f3bff484db0cf0185e6a668e820
treedf5435deeb2ee72c047acddd51584779085d7614
parent98b4e900df9a9123d73e405793b58a17890bf6da
osd/PG: keep PG alive until the final onreadable context under old ch is done

The onreadable completions go through a finisher; add a final event
in that stream that keeps the PG alive while prior events flush.

flush() isn't quite sufficient since it doesn't wait for the finisher
events to flush too--only for the actual apply to have happened.

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