]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: new alternative write-around cache layer
authorJason Dillaman <dillaman@redhat.com>
Wed, 27 Mar 2019 23:09:55 +0000 (19:09 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 11 Apr 2019 16:47:00 +0000 (12:47 -0400)
commite415f4064a5ec075e2b0be6928f71a3805f3c968
tree8a4c945f9cba48d869d949223a068d034ff9cf53
parent6c35ca969b06c24707d3e56dd0545b258e4f9e8a
librbd: new alternative write-around cache layer

This is a replacement for the ObjectCacher-based writethrough/
writeback cache. It permits a configurable maximum byte size
of in-flight writes (bytes) to the OSDs where the writes are
immediately completed back to the caller. Any IO errors are
propagated on the next flush request.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/common/options.cc
src/librbd/CMakeLists.txt
src/librbd/cache/WriteAroundObjectDispatch.cc [new file with mode: 0644]
src/librbd/cache/WriteAroundObjectDispatch.h [new file with mode: 0644]
src/librbd/image/OpenRequest.cc
src/test/librbd/CMakeLists.txt
src/test/librbd/cache/test_mock_WriteAroundObjectDispatch.cc [new file with mode: 0644]
src/test/librbd/test_Migration.cc