Merge pull request #16011 from hsepeng/cache-osd-bugfix

osd/PrimaryLogPG solve cache tier osd high memory consumption

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Kefu Chai 2017-07-05 15:04:24 +08:00 committed by GitHub
commit dadd73f03d

View File

@ -9241,6 +9241,7 @@ void PrimaryLogPG::simple_opc_submit(OpContextUPtr ctx)
dout(20) << __func__ << " " << repop << dendl; dout(20) << __func__ << " " << repop << dendl;
issue_repop(repop, ctx.get()); issue_repop(repop, ctx.get());
eval_repop(repop); eval_repop(repop);
calc_trim_to();
repop->put(); repop->put();
} }