]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: disable copy offload on encrypted inodes
authorJeff Layton <jlayton@kernel.org>
Tue, 30 Nov 2021 18:38:42 +0000 (13:38 -0500)
committerJeff Layton <jlayton@kernel.org>
Tue, 31 May 2022 15:50:01 +0000 (11:50 -0400)
commit3d618cfc3c736e18797c093009f8fa69c1402542
tree210feb016ca2172da1be2d5aef9cf86a8b3bb9c2
parent399c7b4198bf70eadc1922eb7f307d8127d9f97a
ceph: disable copy offload on encrypted inodes

If we have an encrypted inode, then the client will need to re-encrypt
the contents of the new object. Disable copy offload to or from
encrypted inodes.

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
fs/ceph/file.c