From: myoungwon oh Date: Sat, 14 Feb 2026 08:07:39 +0000 (+0900) Subject: osd/PGLog: set dirty_to to max to avoid partial writes X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5fb91f719ef13fac46544e4069a002b65d6fc822;p=ceph-ci.git osd/PGLog: set dirty_to to max to avoid partial writes Signed-off-by: Myoungwon Oh --- diff --git a/src/osd/PGLog.cc b/src/osd/PGLog.cc index e457883c87a..9f9d43304b6 100644 --- a/src/osd/PGLog.cc +++ b/src/osd/PGLog.cc @@ -526,9 +526,16 @@ void PGLog::merge_log(pg_info_t &oinfo, pg_log_t&& olog, pg_shard_t fromosd, changed = true; } + if (changed && pool.is_crimson()) { + mark_dirty_to(eversion_t::max()); + } + // now handle dups if (merge_log_dups(olog)) { changed = true; + if (pool.is_crimson()) { + mark_dirty_to_dups(eversion_t::max()); + } } dout(10) << "merge_log result " << log << " " << missing <<