]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: simplify IO flush handling through AsyncOperation
authorJason Dillaman <dillaman@redhat.com>
Mon, 29 Apr 2019 14:13:21 +0000 (10:13 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 27 Jun 2019 18:18:21 +0000 (14:18 -0400)
commit69a03c2e042e87a16befdb6c278fe365659850c7
tree7866e328464a774ce7861c5087dca3493267c935
parent9537302815ff3671565a82bcb0123af125ba3165
librbd: simplify IO flush handling through AsyncOperation

Allow ImageFlushRequest to directly execute a flush call through
AsyncOperation. This will allow the flush to be directly linked
to its preceeding IOs.

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

Conflicts:
src/librbd/io/AsyncOperation.cc: trivial resolution
src/test/librbd/io/test_mock_CopyupRequest.cc: DNE
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h
src/librbd/io/AsyncOperation.cc
src/librbd/io/AsyncOperation.h
src/librbd/io/ImageRequest.cc
src/test/librbd/io/test_mock_ImageRequest.cc
src/test/librbd/mock/MockImageCtx.h