]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: Fix logic in need read start/end to account for fscrypt.
authorChristopher Hoffman <choffman@redhat.com>
Thu, 11 Apr 2024 17:37:55 +0000 (17:37 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Wed, 5 Nov 2025 13:59:34 +0000 (13:59 +0000)
commite04f31d77b39543609282ab28f67534912417f76
tree9f0688dd04862ce1b86eed547df94b24f5deb4f2
parent601a5c9ca4f16bae0a983da7c8a9131abec0fbc1
client: Fix logic in need read start/end to account for fscrypt.

Fix the logic in need read start/end. We need to make sure that a
whole block is read when a rmw is issued, regardless if it starts
at offset 0 or not. Change size that may be read from where offset
starts to the whole fscrypt block.

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