]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: add fscrypt decryption support to ceph_netfs_issue_op
authorJeff Layton <jlayton@kernel.org>
Thu, 25 Aug 2022 13:31:23 +0000 (09:31 -0400)
committerXiubo Li <xiubli@redhat.com>
Fri, 26 Aug 2022 23:58:56 +0000 (07:58 +0800)
commitf5cd2a63fb339a190fbd98cafb47b0ce2c804b94
tree039468824cbbc88918c0129e5b83d4aa637081d7
parent1d808c52d508b88203ce32baf71d58a8f243d7df
ceph: add fscrypt decryption support to ceph_netfs_issue_op

Force the use of sparse reads when the inode is encrypted, and add the
appropriate code to decrypt the extent map after receiving.

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