]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: generic helper for tracking in-flight IO and managing flush requests 36658/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 7 May 2020 20:25:50 +0000 (16:25 -0400)
committerNathan Cutler <ncutler@suse.com>
Sat, 15 Aug 2020 15:14:22 +0000 (17:14 +0200)
commit319b44cd050d2aff5523702589793d4387d05372
treeb817fc5f5f755dbf62cc8a2fb04312ed46601d87
parentfcf93ef589fe0814cb3e3a25ae65f7f8a46b9595
librbd: generic helper for tracking in-flight IO and managing flush requests

Layers that potentially queue IOs but not all IOs will need to track all
in-flight IOs to properly ensure that a flush cannot complete while
older IO is still stuck in a queue.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 728057e492a697191d72049ce64b337fa4c80078)

Conflicts:
src/librbd/CMakeLists.txt
- no "io/ImageDispatch.cc" in octopus
src/librbd/CMakeLists.txt
src/librbd/io/FlushTracker.cc [new file with mode: 0644]
src/librbd/io/FlushTracker.h [new file with mode: 0644]