]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: removed legacy journal event tracking hooks from IO path
authorJason Dillaman <dillaman@redhat.com>
Wed, 28 Feb 2018 19:38:06 +0000 (14:38 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 7 Mar 2018 17:45:42 +0000 (12:45 -0500)
commit898223eea6a5fba844f04a7349012a63108c893f
tree8b75cbcdd9d7a0dc9501febfa284207541cffd86
parent1231e33d258496aad0f4708620d8a82809dc035b
librbd: removed legacy journal event tracking hooks from IO path

The new journal object dispatch layer handles delaying writes to the
OSD until the journal event is safe. This avoid the need for two
different code paths for cache and non-cache case.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
13 files changed:
src/librbd/Journal.cc
src/librbd/Journal.h
src/librbd/LibrbdWriteback.cc
src/librbd/internal.cc
src/librbd/io/AioCompletion.cc
src/librbd/io/AioCompletion.h
src/librbd/io/ImageRequest.cc
src/librbd/io/ObjectDispatchSpec.cc
src/librbd/io/ObjectDispatchSpec.h
src/librbd/operation/TrimRequest.cc
src/test/librbd/io/test_mock_ImageRequest.cc
src/test/librbd/journal/test_Replay.cc
src/test/librbd/test_mock_Journal.cc