]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PrimaryLogPG: drop unnecessary flush() on shutdown
authorSage Weil <sage@redhat.com>
Sat, 27 Jan 2018 17:06:00 +0000 (11:06 -0600)
committerSage Weil <sage@redhat.com>
Tue, 6 Feb 2018 20:09:30 +0000 (14:09 -0600)
The ObjectStore implementation should handle this.

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

index 7dfd3a6b9481ddc481b7c3c2934909e20fe111d6..fc58a5e71e4c66b1984e6be6c22a45fb20b6c260 100644 (file)
@@ -11654,7 +11654,6 @@ void PrimaryLogPG::shutdown()
   lock();
   on_shutdown();
   unlock();
-  ch->flush();
 }
 
 void PrimaryLogPG::on_shutdown()