]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: flush requests could race past initiation of write ops 36755/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 21 Aug 2020 14:37:41 +0000 (10:37 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 21 Aug 2020 14:37:41 +0000 (10:37 -0400)
commit4e1633edfc28244ac13e6870f906e01e2e49e840
tree1fbb0611efa368a5a5cb675fef9fa1391f74a903
parent1f28e5ffed9ca21fe520beb8ac19552ee3bd8885
librbd: flush requests could race past initiation of write ops

Now that IO is being processed by multiple threads, it's possible
that a write operation that was issued prior to a flush would not
have been started prior to the processing of the flush.

Fixes: https://tracker.ceph.com/issues/47050
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/io/QueueImageDispatch.cc
src/librbd/io/QueueImageDispatch.h