]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: new hook for pre-processing copyup data
authorJason Dillaman <dillaman@redhat.com>
Wed, 23 Sep 2020 19:57:20 +0000 (15:57 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 13 Oct 2020 12:40:29 +0000 (08:40 -0400)
commit60593e0fa1fdd11db6a7183a4799010de96a8b7b
tree810d94eee5b8a18e3da7bdca71c59b4f3033a75e
parent3a3dec2596d31eb9951aae03bb7a8feca37ad0c3
librbd: new hook for pre-processing copyup data

This will permit the crypto layer to properly encrypt and potentially
align the sparse copyup data prior to it being written. It passes
potentially multiple sets of data in one pass to permit the deep-copy
state machine to utilize the same API and allow the crypto layer to
potentially handle layered alignment issues.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
14 files changed:
src/librbd/cache/ObjectCacherObjectDispatch.h
src/librbd/cache/ParentCacheObjectDispatch.h
src/librbd/cache/WriteAroundObjectDispatch.h
src/librbd/crypto/CryptoObjectDispatch.h
src/librbd/io/ObjectDispatch.h
src/librbd/io/ObjectDispatchInterface.h
src/librbd/io/ObjectDispatcher.cc
src/librbd/io/ObjectDispatcher.h
src/librbd/io/ObjectDispatcherInterface.h
src/librbd/io/SimpleSchedulerObjectDispatch.h
src/librbd/io/Types.h
src/librbd/journal/ObjectDispatch.h
src/test/librbd/mock/io/MockObjectDispatch.h
src/test/librbd/mock/io/MockObjectDispatcher.h