]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: Add fscrypt last block
authorChristopher Hoffman <choffman@redhat.com>
Mon, 9 Dec 2024 18:59:50 +0000 (18:59 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Thu, 14 Aug 2025 20:09:43 +0000 (20:09 +0000)
commit7ed928e2d1dacaee13cb1616da8ba29a3c5a119a
treeee388cc4c0f820b0e18644d988b8169db7cf0e95
parentb982541ab6047356693365de0e13b882cacf08b6
client: Add fscrypt last block

Add logic to support fscrypt last block. Includes sending
truncated last block data (decrypted->trunc->encrypted)
from client to mds. The server then writes the last block
on successful truncate.

Fixes: https://tracker.ceph.com/issues/69160
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
qa/tasks/cephfs/test_fscrypt.py
src/client/Client.cc
src/mds/Server.cc