From ff0f798e1b4133bb569bad51664a7c2c7c4beadb Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 23 Feb 2018 09:19:13 -0600 Subject: [PATCH] osd/PG: flush sequencer/collection on shutdown This should catch any in-flight work we have. Signed-off-by: Sage Weil --- src/osd/PG.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 9be1907173fe1..09696d10ad907 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -3300,6 +3300,7 @@ void PG::init( void PG::shutdown() { + ch->flush(); lock(); on_shutdown(); unlock(); -- 2.39.5