]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: During fscrypt write skip unneeded reads
authorChristopher Hoffman <choffman@redhat.com>
Tue, 12 Aug 2025 13:14:57 +0000 (13:14 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Wed, 5 Nov 2025 13:59:36 +0000 (13:59 +0000)
commitdee913c1e6bad7fd0777c356b6f591aa0d05f6c0
tree16db55145c5ae28be7011ff787e20f04cdefc254
parente73a7cc21cfc2c7334179c867f61157eb47a4dcf
client: During fscrypt write skip unneeded reads

During an fscrypt write a read may be needed to ensure changed
portion of file is merged with an existing data block. No need
to read unnecessarily when writes line up to fscrypt block and
span a whole block or more.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
src/client/Client.cc