]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: support a finish handler for image IO dispatch layers
authorJason Dillaman <dillaman@redhat.com>
Fri, 1 May 2020 01:13:08 +0000 (21:13 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 14 May 2020 15:56:45 +0000 (11:56 -0400)
commitbe760356b866d3b5a4d426cd951b4b74c87616c6
tree35c965e6da6e6c0b9a9eff70d0488bb404322faa
parentce6004afce14bd9588b6aa5660e3e515cfbddc65
librbd: support a finish handler for image IO dispatch layers

This will be faster than allocating per-IO Context callbacks for
layers that need to track the in-flight state of particular IOs.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/io/ImageDispatchSpec.cc
src/librbd/io/ImageDispatcher.cc
src/librbd/io/ImageDispatcher.h
src/librbd/io/ImageDispatcherInterface.h
src/test/librbd/mock/io/MockImageDispatcher.h