]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
journal: properly handle immediate overflow upon advancing object set
authorJason Dillaman <dillaman@redhat.com>
Thu, 14 Nov 2019 01:01:16 +0000 (20:01 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 19 Nov 2019 13:45:46 +0000 (08:45 -0500)
commit2773e68f438b48fd99c37f132771ce05675be047
treed053c9ee540de7794cd15ac8320e5b4e89a94dee
parente536b5c8e10e152ef07fc5ee5bb019cea359d249
journal: properly handle immediate overflow upon advancing object set

While the old set is being closed, additional IO can be queued up within
the old, closed objects while the in-flight IO settles. It's therefore
possible that the queued IO that is transferred from the old set to the
new set causes an immediate overflow of the new set.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/journal/JournalRecorder.cc
src/journal/JournalRecorder.h