mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
ReplicatedPG: change ReplicatedPG debug output to match PG
Signed-off-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
parent
b6bf573699
commit
91355fb733
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user