Repository navigation
mds: rework FSMap to avoid shared_ptrs - #52409
Merged
Merged
Conversation
4 of 14 tasks
There's zero reason to complicate the interface with shared_ptr<Filesystem> when a Filesystem's lifetime is tied to the FSMap. Signed-off-by: Patrick Donnelly <[email protected]>
batrick
force-pushed
the
fsmap-no-sharedptr
branch
from
July 12, 2023 14:56
9b40f3c to
728cdc3
Compare
Member
Author
|
Blocking #51993 |
Contributor
|
@mchangir I assigned this to you for review and tests. PTAL. |
Member
Author
|
jenkins test windows |
Member
Author
|
jenkins test make check arm64 |
vshankar
reviewed
Aug 11, 2023
| FSMap &operator=(const FSMap &rhs); | ||
|
|
||
| const CompatSet &get_default_compat() const {return default_compat;} | ||
| const_iterator begin() const { |
Contributor
There was a problem hiding this comment.
Liked this -- super handy for iterating filesystems 👍
Contributor
Contributor
|
Run looks good. Preparing the run wiki and will merge soon. |
vshankar
approved these changes
Aug 31, 2023
rishabh-d-dave
added a commit
to rishabh-d-dave/ceph
that referenced
this pull request
Sep 6, 2023
PR ceph#51942 today and PR ceph#52409 was merged last week. Latter PR changed "fs" to "fsp" and made mds_map and fscid private and introduced get_mds_map() and get_fsicd() methods instead. Combination of former and latter PR introduced compilation errors & made it impossible to build the binaries on the latest main branch. This commit attemps to fix this issue. Fixes: https://tracker.ceph.com/issues/62729 Signed-off-by: Rishabh Dave <[email protected]>
rishabh-d-dave
added a commit
to rishabh-d-dave/ceph
that referenced
this pull request
Sep 7, 2023
PR ceph#51942 today and PR ceph#52409 was merged last week. Latter PR changed "fs" to "fsp" and made mds_map and fscid private and introduced get_mds_map() and get_fsicd() methods instead. Combination of former and latter PR introduced compilation errors & made it impossible to build the binaries on the latest main branch. This commit attemps to fix this issue. Fixes: https://tracker.ceph.com/issues/62729 Signed-off-by: Rishabh Dave <[email protected]>
ronen-fr
pushed a commit
to ronen-fr/ceph
that referenced
this pull request
Sep 7, 2023
PR ceph#51942 today and PR ceph#52409 was merged last week. Latter PR changed "fs" to "fsp" and made mds_map and fscid private and introduced get_mds_map() and get_fsicd() methods instead. Combination of former and latter PR introduced compilation errors & made it impossible to build the binaries on the latest main branch. This commit attemps to fix this issue. Fixes: https://tracker.ceph.com/issues/62729 Signed-off-by: Rishabh Dave <[email protected]>
4 of 14 tasks
Contributor
Member
Author
I have no plans to backport this cleanup. |
benhanokh
pushed a commit
to benhanokh/ceph
that referenced
this pull request
Sep 10, 2023
PR ceph#51942 today and PR ceph#52409 was merged last week. Latter PR changed "fs" to "fsp" and made mds_map and fscid private and introduced get_mds_map() and get_fsicd() methods instead. Combination of former and latter PR introduced compilation errors & made it impossible to build the binaries on the latest main branch. This commit attemps to fix this issue. Fixes: https://tracker.ceph.com/issues/62729 Signed-off-by: Rishabh Dave <[email protected]>
aaSharma14
pushed a commit
to rhcs-dashboard/ceph
that referenced
this pull request
Dec 6, 2023
PR ceph#51942 today and PR ceph#52409 was merged last week. Latter PR changed "fs" to "fsp" and made mds_map and fscid private and introduced get_mds_map() and get_fsicd() methods instead. Combination of former and latter PR introduced compilation errors & made it impossible to build the binaries on the latest main branch. This commit attemps to fix this issue. Fixes: https://tracker.ceph.com/issues/62729 Signed-off-by: Rishabh Dave <[email protected]>
aaSharma14
pushed a commit
to rhcs-dashboard/ceph
that referenced
this pull request
Dec 26, 2023
PR ceph#51942 today and PR ceph#52409 was merged last week. Latter PR changed "fs" to "fsp" and made mds_map and fscid private and introduced get_mds_map() and get_fsicd() methods instead. Combination of former and latter PR introduced compilation errors & made it impossible to build the binaries on the latest main branch. This commit attemps to fix this issue. Fixes: https://tracker.ceph.com/issues/62729 Signed-off-by: Rishabh Dave <[email protected]>
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.
There's zero reason to complicate the interface with shared_ptr when a Filesystem's lifetime is tied to the FSMap.
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
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 windows