]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: plumb in decryption during sync reads
authorJeff Layton <jlayton@kernel.org>
Sun, 20 Mar 2022 13:37:39 +0000 (09:37 -0400)
committerJeff Layton <jlayton@kernel.org>
Tue, 31 May 2022 15:50:01 +0000 (11:50 -0400)
commit7a03bec37b6d9ac8e54be2dd53b7135670c39709
treec3d945822b2ff2052b846264f7d33a978d328e9a
parent9b295bb188e96e005be87126a06177264040c6b1
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