]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd/pg: clear PG_STATE_SNAPTRIM on interval changes 58028/head
authorXuehan Xu <xuxuehan@qianxin.com>
Sat, 11 May 2024 07:01:54 +0000 (15:01 +0800)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 13 Jun 2024 12:41:31 +0000 (15:41 +0300)
commit2c0741fcefc936947cf1d5a19b11f1e19e6bdf9f
tree0b7b241c6579ccd59d5cae4f871e4b5e3fe2761c
parent9cb0d62c7222a56e2a54dc67ec242b85cd040004
crimson/osd/pg: clear PG_STATE_SNAPTRIM on interval changes

This is to avoid the scenarios in which pgs get activated before
PG_STATE_SNAPTRIM of the last pg interval gets cleared

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
(cherry picked from commit 2c216b95ece4a0ec7ad723bdd2b00efce3135b2d)
src/crimson/osd/pg.cc