Repository navigation
common/dout: move Log::submit_entry() call to extern function - #72655
MaxKellermann wants to merge 2 commits into
Conversation
Signed-off-by: Max Kellermann <[email protected]>
This eliminates the header dependency on log/Log.h and instead needs only the lighter header log/Entry.h. Signed-off-by: Max Kellermann <[email protected]>
d076e8a to
7818f7d
Compare
|
The build breaks because the |
|
This starts to look like a desaster; when I build The This is a horrible and fragile mess. Why has this never crashed? |
@MaxKellermann i am trying to address it in #71760, well, partly. |
It is messy and terrible. That's (just the point about the two CephContex'es) what made the introduction of mold into a multi-days endevor. I am counting on Kefu to get it fixed someday... |
|
My problem with this mess is that I just can't understand why this complexity was ever introduced. Why did somebody decide it's a good idea to build the same source twice within a single Ceph binary, but with different ABIs, and then use linker trickery and hope all symbols get resolved to the proper ABI version... |
|
@MaxKellermann Hi Max, I agree it's a mess, and some of it is my fault. It did start from a real need, though. crimson-osd runs two runtimes in one process. Crimson code runs on seastar's shared-nothing cores, so the shared sources are built with What keeps hurting is the classic
#71760 cleans up those leftovers and drops the |
|
Thanks for the explanaiton, @tchaikov. I understand your motivation, but I wouldn't have chosen that path. At most, this is a way to quickly assemble a PoC for Seastar integration, but I would never have merge such a thing into the main branch. |
|
Converted to draft; I will resume this effort once the Crimson mess has been cleaned up, but it's out of this PR's scope. |
This eliminates the header dependency on log/Log.h and instead needs only the lighter header log/Entry.h.
Another PR split from #60490
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e