diff options
author | Jason Dillaman <dillaman@redhat.com> | 2019-04-29 16:13:21 +0200 |
---|---|---|
committer | Jason Dillaman <dillaman@redhat.com> | 2019-05-02 15:30:45 +0200 |
commit | 09e4127d5df1e2a79f2536dc784ec3730feea9ce (patch) | |
tree | 6914c4917261eddf81aa3ea5db012992873807ef /src/test/librbd/mock/MockImageCtx.h | |
parent | Merge PR #27871 into master (diff) | |
download | ceph-09e4127d5df1e2a79f2536dc784ec3730feea9ce.tar.xz ceph-09e4127d5df1e2a79f2536dc784ec3730feea9ce.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | src/test/librbd/mock/MockImageCtx.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/librbd/mock/MockImageCtx.h b/src/test/librbd/mock/MockImageCtx.h index 00733d2e48a..1975a842db0 100644 --- a/src/test/librbd/mock/MockImageCtx.h +++ b/src/test/librbd/mock/MockImageCtx.h @@ -185,7 +185,6 @@ struct MockImageCtx { librados::snap_t id)); MOCK_METHOD0(user_flushed, void()); - MOCK_METHOD1(flush_async_operations, void(Context *)); MOCK_METHOD1(flush_copyup, void(Context *)); MOCK_CONST_METHOD1(test_features, bool(uint64_t test_features)); |