diff options
author | Or Ozeri <oro@il.ibm.com> | 2020-11-02 14:20:18 +0100 |
---|---|---|
committer | Or Ozeri <oro@il.ibm.com> | 2020-11-18 20:08:30 +0100 |
commit | 3c11d5a2eb39e68a36c1eaf64805809c9d38d82e (patch) | |
tree | 9ab8085bf6427eab46786444761e9ec66c2f6f9e /src/librbd/journal | |
parent | Merge pull request #38029 from kshtsk/wip-cephadm-bootstrap-remote (diff) | |
download | ceph-3c11d5a2eb39e68a36c1eaf64805809c9d38d82e.tar.xz ceph-3c11d5a2eb39e68a36c1eaf64805809c9d38d82e.zip |
librbd: add encryption support for copyup
This commit implements the prepare_copyup api by the crypto object dispatch layer.
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Diffstat (limited to 'src/librbd/journal')
-rw-r--r-- | src/librbd/journal/ObjectDispatch.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librbd/journal/ObjectDispatch.h b/src/librbd/journal/ObjectDispatch.h index 18967a33aa4..45e4773ccc4 100644 --- a/src/librbd/journal/ObjectDispatch.h +++ b/src/librbd/journal/ObjectDispatch.h @@ -101,9 +101,10 @@ public: uint64_t object_no, uint64_t object_off, uint64_t object_len, uint64_t journal_tid, uint64_t new_journal_tid) override; - void prepare_copyup( + int prepare_copyup( uint64_t object_no, io::SnapshotSparseBufferlist* snapshot_sparse_bufferlist) override { + return 0; } private: |