]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: flush before collection_list()
authorSage Weil <sage@redhat.com>
Mon, 16 Oct 2017 15:47:39 +0000 (10:47 -0500)
committerDavid Zafman <dzafman@redhat.com>
Fri, 18 May 2018 16:37:56 +0000 (09:37 -0700)
commit9f3eb06b3b2bb1d28d34835145b112ecba649566
treedf60597fc74c2e9ddc3d37741761fd4f6c394b80
parent387afe591ec1e245f035b86f4f93818148a563c6
osd: flush before collection_list()

We would get this implicitly with FileStore if we waited for the onreadable
callbacks, but in some cases the OSD has already done that.  With BlueStore,
we need to explicitly flush().

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit b877860e4246cdd21b5ee79f17756efcf71b311e)
src/osd/PG.cc
src/osd/PrimaryLogPG.cc