]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: Add additional case for fscrypt enabled setattr
authorChristopher Hoffman <choffman@redhat.com>
Fri, 28 Mar 2025 18:57:40 +0000 (18:57 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Wed, 5 Nov 2025 13:59:35 +0000 (13:59 +0000)
commitaa5989e68c7dab0aa7743304142dba08f9853074
treee457a46ec0ee08dea36e1e70b7cfd8eac2e05ce1
parent511212a75ff590098e282cfb11e1ce1d8791ec97
client: Add additional case for fscrypt enabled setattr

During setattr in fscrypt case, there's two cases that happen
1. A logical size is provided and then a vector must be populated.
2. A request from setxattr is received and fscrypt_file vector
   is already set.

Also rework tests when setting fscrypt_file, to use logical sizes.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
qa/workunits/fs/fscrypt.sh
src/client/Client.cc
src/test/libcephfs/test.cc
src/test/libcephfs/vxattr.cc