]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: generic helper for tracking in-flight IO and managing flush requests
authorJason Dillaman <dillaman@redhat.com>
Thu, 7 May 2020 20:25:50 +0000 (16:25 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 14 May 2020 15:56:45 +0000 (11:56 -0400)
commit728057e492a697191d72049ce64b337fa4c80078
treef008d1ebb549767b47b489a1e7f12aee09d54929
parent5687d923e318d05c0006ac99789716dfcd99ee6e
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>
src/librbd/CMakeLists.txt
src/librbd/io/FlushTracker.cc [new file with mode: 0644]
src/librbd/io/FlushTracker.h [new file with mode: 0644]