]> 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>
Fri, 15 Aug 2025 16:03:31 +0000 (16:03 +0000)
commitaef7e7ccce8ecf328c4e7963da662fba87085d9f
tree52dbb5603ae3eb2c957229b8e8fef354125f8b75
parent62f5f47b48947f480927fc66a241b6c8036ebb1f
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