ReplicatedPG: change ReplicatedPG debug output to match PG

Signed-off-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
Samuel Just 2012-05-07 11:00:52 -07:00
parent b6bf573699
commit 91355fb733

View File

@ -50,8 +50,7 @@
#undef dout_prefix
#define dout_prefix _prefix(_dout, this, osd->whoami, get_osdmap())
static ostream& _prefix(std::ostream *_dout, PG *pg, int whoami, OSDMapRef osdmap) {
return *_dout << "osd." << whoami
<< " " << (osdmap ? osdmap->get_epoch():0) << " " << *pg << " ";
return *_dout << pg->gen_prefix();
}