From 4a83de183230c74cbc6874a2c60a76c26369ed5b Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 20 May 2011 15:08:06 -0700 Subject: [PATCH] osd: update last_epoch_clean in PG::Info::History::merge() Signed-off-by: Sage Weil --- src/osd/PG.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osd/PG.h b/src/osd/PG.h index 9389acb2c0ff4..985cd95fec3d6 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -202,6 +202,8 @@ public: epoch_created = other.epoch_created; if (last_epoch_started < other.last_epoch_started) last_epoch_started = other.last_epoch_started; + if (last_epoch_clean < other.last_epoch_clean) + last_epoch_clean = other.last_epoch_clean; if (last_epoch_split < other.last_epoch_started) last_epoch_split = other.last_epoch_started; if (other.last_scrub > last_scrub) -- 2.39.5