]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: set pg history last_clean_scrub_stamp on create
authorSage Weil <sage@redhat.com>
Mon, 2 May 2016 18:27:16 +0000 (14:27 -0400)
committerSage Weil <sage@redhat.com>
Mon, 2 May 2016 18:27:16 +0000 (14:27 -0400)
We were setting the other two; set this one as well.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc

index f7907f5c832096fc852b752dfda7cde29b274a60..8d5ccf542e1e788254872fb88223b1da4da83936 100644 (file)
@@ -7495,6 +7495,7 @@ void OSD::handle_pg_create(OpRequestRef op)
     history.epoch_created = created;
     history.last_scrub_stamp = ci->second;
     history.last_deep_scrub_stamp = ci->second;
+    history.last_clean_scrub_stamp = ci->second;
 
     // project history from created epoch (handle_pg_peering_evt does
     // it from msg send epoch)