]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: Fix logic in fscrypt hole optimization
authorChristopher Hoffman <choffman@redhat.com>
Tue, 17 Jun 2025 16:44:08 +0000 (16:44 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Wed, 5 Nov 2025 13:59:35 +0000 (13:59 +0000)
commitf9fb36db8c28b9ff8b2660a46d33bbce441ef1f2
treefe53429cc0238326fc9d0339d57969ff39b38371
parent6cf17e76b0bae7455581f0002fb79ffc2f1858a1
client: Fix logic in fscrypt hole optimization

In fscrypt decryption code path, ensure if a data block
is hit when there are holes present in adjacent blocks,
that we exit hole traversal and continue on to decrypt the block.

Fixes: https://tracker.ceph.com/issues/71602
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
src/client/FSCrypt.cc