]> 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 20:48:10 +0000 (16:48 -0400)
commitef4fdf78da2d2fb0a05e59409b26d5f9597187c0
tree0560c6813980aa1cacf59e68cac92ad114db0b78
parent94e54db06195b8aaa0730e8482093fb232864eae
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/ImageCtx.h/cc: dropped changes
src/librbd/io/AsyncOperation.cc: kept original helper
src/librbd/io/ImageRequest.cc: merged new logic in flush request
src/test/librbd/io/test_mock_CopyupRequest.cc: DNE
src/test/librbd/io/test_mock_ImageRequest.cc: tweaked to match new behavior
src/librbd/io/AsyncOperation.cc
src/librbd/io/AsyncOperation.h
src/librbd/io/ImageRequest.cc
src/test/librbd/io/test_mock_ImageRequest.cc