]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
posixdriver: fix cksum_type, flags propagation
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 3 Feb 2026 22:12:22 +0000 (17:12 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 18 Feb 2026 19:40:41 +0000 (14:40 -0500)
commit2b863b61a3d42e5080e568946afbb0d4415f2dc4
tree9a9be4b50d546fec8454a9ee3d5f5e31e668480b
parent3f2febfe1eb225233738ca991248d8915e74ec8e
posixdriver: fix cksum_type, flags propagation

Posixdriver doesn't serialize POSIXMultipartUpload, but rather a
member mp_obj of type POSIXMPObj--so to avoid losing the latter's
inherited cksum_type and cksum_flags members (which are already
copied in), copy them out in POSIXMultiPartUpload::get_info() which
we need to call to copy out dest_placement anyway.

(oops, chksum_type was copied in, but not cksum_flags)

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/driver/posix/rgw_sal_posix.cc
src/rgw/rgw_op.cc