]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: restore missing flush on write-block logic
authorJason Dillaman <dillaman@redhat.com>
Thu, 28 May 2020 21:59:39 +0000 (17:59 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 3 Jun 2020 13:45:24 +0000 (09:45 -0400)
commitc62926f511f017c1862cfad7967f95d934814b6a
tree84135a3bcb4e813119e13e14c9a773b7f939f70a
parent3457f0bf280231a46d87e2f0adf96ecad6c60a79
librbd: restore missing flush on write-block logic

When creating the new image dispatch layer, the original flush
upon write-block was dropped. This is resulting in some random race
conditions where object IO is still in-flight when the write-block
indicates it's complete.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/io/WriteBlockImageDispatch.cc
src/librbd/io/WriteBlockImageDispatch.h