]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: clone + delete ops should invalidate source new EC extent cache.
authorAlex Ainscow <aainscow@uk.ibm.com>
Thu, 24 Apr 2025 13:02:41 +0000 (14:02 +0100)
committerLaura Flores <lflores@ibm.com>
Wed, 9 Jul 2025 15:47:25 +0000 (15:47 +0000)
commitfb2d50c30ab75a0b19aa390e9271485cadd172fb
treebe758897c6a404c0206b3c3e422b9f5ef28dee3a
parent3a10c06da9f3b3ec88d4c3771f59c7c4066b637f
osd: clone + delete ops should invalidate source new EC extent cache.

The op.is_delete() function only returns true if the op is not ALSO
doing something else (e.g. a clone). This causes issues with clearing
the new EC extent cache.

Also improve some debug and code cleanliness.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
(cherry picked from commit 1224063e8f9b6fcafcba399373a43f0bc7488bcc)
src/osd/ECExtentCache.cc
src/osd/ECTransaction.cc