]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: plumb in decryption during sync reads
authorJeff Layton <jlayton@kernel.org>
Thu, 25 Aug 2022 13:31:22 +0000 (09:31 -0400)
committerXiubo Li <xiubli@redhat.com>
Fri, 26 Aug 2022 23:58:56 +0000 (07:58 +0800)
commit1d808c52d508b88203ce32baf71d58a8f243d7df
tree8ca743d531c76e718aecde449c798fa7c3be3468
parentb2ab728814c0e59d93e8b0f9126eaecb4f9c678e
ceph: plumb in decryption during sync reads

Switch to using sparse reads when the inode is encrypted.

Note that the crypto block may be smaller than a page, but the reverse
cannot be true.

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