Repository navigation
osd: include cleanup - #68593
Merged
Merged
osd: include cleanup#68593
Conversation
MaxKellermann
force-pushed
the
osd_includes2
branch
2 times, most recently
from
April 24, 2026 09:09
be5c4dc to
6107fc3
Compare
MaxKellermann
force-pushed
the
osd_includes2
branch
2 times, most recently
from
April 24, 2026 11:03
efa1ce9 to
456f6bf
Compare
tchaikov
reviewed
Apr 27, 2026
tchaikov
reviewed
Apr 27, 2026
tchaikov
reviewed
Apr 27, 2026
tchaikov
left a comment
Contributor
There was a problem hiding this comment.
lgtm. modulo the copyright header issue.
MaxKellermann
force-pushed
the
osd_includes2
branch
from
April 27, 2026 09:07
456f6bf to
8efaf71
Compare
Member
Author
|
jenkins test make check |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
MaxKellermann
force-pushed
the
osd_includes2
branch
from
May 4, 2026 09:08
8efaf71 to
b380014
Compare
Member
Author
|
Rebased to fix merge conflict with commits that have been pushed meanwhile. |
MaxKellermann
force-pushed
the
osd_includes2
branch
from
May 8, 2026 07:22
b380014 to
70cd005
Compare
Member
Author
|
Rebase & dropped the Crimson commit that was merged already (#68790) |
MaxKellermann
force-pushed
the
osd_includes2
branch
from
May 11, 2026 11:16
70cd005 to
4421e9a
Compare
Member
|
Please do not merge this without my ack. |
Contributor
|
jenkins test make check arm64 |
Signed-off-by: Max Kellermann <[email protected]>
Signed-off-by: Max Kellermann <[email protected]>
Signed-off-by: Max Kellermann <[email protected]>
Signed-off-by: Max Kellermann <[email protected]>
This fixes the clang warning:
src/test/cls_log/test_cls_log.cc:91:22: error: conditional expression is ambiguous; 'time_point<[...], duration<typename common_type<unsigned long, long long>::type, [...]>>' can be converted to 'time_point<[...], duration<unsigned long, [...]>>' and vice versa
91 | return modify_time ? start_time + (i * 1s) : start_time;
| ^ ~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
Signed-off-by: Max Kellermann <[email protected]>
Bug introduced by commit c9d0c5e ("test/osd: OSDMapTestHelpers: add pool min_size and OSD add/upmap helpers") from PR ceph#71844 (@aainscow). Signed-off-by: Max Kellermann <[email protected]>
Signed-off-by: Max Kellermann <[email protected]>
This is pretty generic code that has really nothing to do with OSD. It is also used by sources that don't include osd_types.h directly, which might eventually lead to build failures. Signed-off-by: Max Kellermann <[email protected]>
This allows instantiating the whole class without triggering a static_assert failure. Signed-off-by: Max Kellermann <[email protected]>
Signed-off-by: Max Kellermann <[email protected]>
Signed-off-by: Max Kellermann <[email protected]>
Signed-off-by: Max Kellermann <[email protected]>
Signed-off-by: Max Kellermann <[email protected]>
`HitSet.h` is a header that is included implicitly by many other headers via `osd_types.h`. Splitting it allows dropping lots of heavy dependencies like `bloom_filter.h`. Signed-off-by: Max Kellermann <[email protected]>
Signed-off-by: Max Kellermann <[email protected]>
Signed-off-by: Max Kellermann <[email protected]>
Signed-off-by: Max Kellermann <[email protected]>
MaxKellermann
force-pushed
the
osd_includes2
branch
from
October 15, 2026 17:51
f804be0 to
f82d4ba
Compare
This was referenced Oct 16, 2026
4 tasks done
djgalloway
added a commit
to djgalloway/ceph
that referenced
this pull request
Oct 21, 2026
The Ubuntu 24.04 x86_64 debug build has failed to link bin/neorados since PR ceph#68593 (osd: include cleanup): undefined reference to `librados::v14_2_0::ObjectOperation::ObjectOperation()' undefined reference to `librados::v14_2_0::IoCtx::operate(...)' libneorados links cls_lock_client, but nothing in neorados uses it. In a Debug build with Ubuntu's default fat LTO, Boost program_options needs std::string::operator[]. The linker takes it from a weak copy in cls_lock_client.cc.o, and the rest of that object needs librados, which bin/neorados does not link. Drop cls_lock_client from libneorados. ceph_test_librbd and ceph_test_rbd_mirror only got it through libneorados, so link it there directly, alongside the cls_rbd_client and cls_journal_client they already list. The other targets that link rbd_internal already do this. Co-authored-by: Kyle Bader <[email protected]> Assisted-by: Claude Opus 5.5 Signed-off-by: David Galloway <[email protected]>
5 of 14 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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