From 202aa9c238d181e394c8e23e2dc42a6d4e36d279 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 10 Apr 2015 17:07:58 -0700 Subject: [PATCH] osd: sync (no flush) on osd suicide Not that we even need to sync here! Signed-off-by: Sage Weil --- src/osd/OSD.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 76619921a92..bdfb7502f40 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -2271,8 +2271,8 @@ void OSD::suicide(int exitcode) recovery_tp.pause(); command_tp.pause(); - derr << " flushing io" << dendl; - store->sync_and_flush(); + derr << " sync store" << dendl; + store->sync(); derr << " removing pid file" << dendl; pidfile_remove(); -- 2.47.3