cherry-pick 7adc6c08f14 for stable branch
Hi,
could you please cherry-pick:
---------------
commit 7adc6c08f1474806c83ef6c89e8752d6cfd35bfd
Author: Sage Weil <[email protected]> Date: Mon Jul 9 17:24:19 2012 -0700
mon: simplify logmonitor check_subs; less noise
* simple helper to translate name to id
* verify sub type is valid in caller
* assert sub type is valid in method
* simplify iterator usage
Among other things, this gets rid of this noise in the logs:
2012-07-10 20:51:42.617152 7facb23f1700 1 mon.a@1(peon).log v310check_sub sub monmap not log type
---------------
from master to the stable branch?
Thanks!
Danny
Quoted 17 lines · Danny Kukawka
Hi,
could you please cherry-pick:
---------------
commit7adc6c08f1474806c83ef6c89e8752d6cfd35bfdAuthor: Sage Weil <[email protected]> Date: Mon Jul 9 17:24:19 2012 -0700mon: simplify logmonitor
check_subs; less noise* simple helper to translate name to id
* verify sub type is valid in caller
* assert sub type is valid in method
* simplify iterator usageAmong other things, this gets rid of this noise in the logs:
Quoted 7 lines
2012-07-10 20:51:42.617152
7facb23f17001 mon.a@1(peon).log v310check_subsub monmap not log typeSigned-off-by Sage Weil <[email protected]>---------------
from master to the stable branch?
No problem. I just tagged and built 0.48.1, but I'll put this into stable for 0.48.2.
sage
Quoted 6 lines
Thanks!
Danny