On 11/11/2016, Bassam Tabbara wrote: > Yehuda, when I looked at this a few months ago, I thought there > might be a way to make it less of an annoyance. If we can remove the > clock_skew and figure out a way around dout/logging (i.e. make those > process wide) then the number of classes we would need to pass the > context to is greatly reduced. This is roughly the path we take for > the clients (librados for example). I’ll try to prototype this over > the next few weeks as we would love to be able to run multiple OSDs > and MONs in the same process. That was something like my original idea, that we coudl factor the dout support out of CephContext and have it be a per-thread variable, ideally set up as a fluid so we could annotate the call path. (So that some function way down at the bottom of the call stack would log things and still know that it was called by osd.3 or mds.5 or what have you.) -- Senior Software Engineer Red Hat Storage, Ann Arbor, MI, US IRC: Aemerson@{RedHat, OFTC, Freenode} 0x80F7544B90EDBFB9 E707 86BA 0C1B 62CC 152C 7C12 80F7 544B 90ED BFB9 -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html