]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: write RGW_ATTR_CRYPT_PREFETCH_ALIGN for AEAD ciphers
authorMatthew N. Heler <matthew.heler@hotmail.com>
Mon, 30 Mar 2026 23:44:36 +0000 (18:44 -0500)
committerMatthew N. Heler <matthew.heler@hotmail.com>
Wed, 20 May 2026 18:31:02 +0000 (13:31 -0500)
commitfcdc01a1a03148b5450eab18c7a71e07d809ff15
treec4f3303c20af945336aa45abd07225aa2a93818d
parent87c7c45ea6ad2d16976cce6f6ddd8cd14248ddef
rgw: write RGW_ATTR_CRYPT_PREFETCH_ALIGN for AEAD ciphers

Store the plaintext and encrypted block sizes at upload time so
future cls prefetch ops can compute on-disk read ranges from
xattrs without instantiating a cipher.

Only written for size-expanding ciphers (GCM). CBC objects have
no attr — plaintext and ciphertext sizes are identical.

Signed-off-by: Matthew N. Heler <matthew.heler@hotmail.com>
src/rgw/driver/rados/rgw_rados.cc
src/rgw/rgw_common.h
src/rgw/rgw_crypt.cc