]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: fscrypt_file field handling in MClientRequest messages
authorJeff Layton <jlayton@kernel.org>
Fri, 5 Nov 2021 14:22:09 +0000 (22:22 +0800)
committerJeff Layton <jlayton@kernel.org>
Tue, 31 May 2022 15:50:00 +0000 (11:50 -0400)
commit2abc73ff51a60f761d6324feea889708bf0dd9a8
tree414efa7a883709801b308bdf4e86ab10e4f1a286
parente640f2cdfa8508a4357b6325dc1f5f842649227c
ceph: fscrypt_file field handling in MClientRequest messages

For encrypted inodes, transmit a rounded-up size to the MDS as the
normal file size and send the real inode size in fscrypt_file field.

Also, fix up creates and truncates to also transmit fscrypt_file.

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