From 17dd5eea5a62c729b0b43a944906eebb747e1497 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 7 Feb 2018 16:18:21 -0600 Subject: [PATCH] osd/PG: remove obsolete comment in _delete_some() Signed-off-by: Sage Weil --- src/osd/PG.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index d8e2804544b..fe8e0e44121 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -6232,10 +6232,6 @@ void PG::_delete_some() { dout(10) << __func__ << dendl; - // we do not need to flush here because (1) we only start deleting after - // the initial metadata changes are applied and committed, and (2) we do not - // process the next chunk until we have applied and committed our work. - vector olist; ObjectStore::Transaction t; int max = std::min(osd->store->get_ideal_list_max(), -- 2.39.5