diff options
Diffstat (limited to 'src/messages/MOSDPGNotify.h')
-rw-r--r-- | src/messages/MOSDPGNotify.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/messages/MOSDPGNotify.h b/src/messages/MOSDPGNotify.h index 565864de2a7..27279d24bb5 100644 --- a/src/messages/MOSDPGNotify.h +++ b/src/messages/MOSDPGNotify.h @@ -52,6 +52,15 @@ public: ::decode(epoch, p); ::decode(pg_list, p); } + void print(ostream& out) { + out << "osd pg notify(" << "epoch " << epoch << "; "; + for (vector<PG::Info>::iterator i = pg_list.begin(); + i != pg_list.end(); + ++i) { + out << "pg" << i->pgid << "; "; + } + out << ")"; + } }; #endif |