-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
luminous: mds: move remaining containers in CDentry/CDir/CInode to mempool #20527
Merged
Conversation
This file contains 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
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com> (cherry picked from commit e63e17a)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com> (cherry picked from commit 0635dac)
This is necessary to allow many interfaces to take mempool allocated strings. Signed-off-by: Patrick Donnelly <pdonnell@redhat.com> (cherry picked from commit 0c8ec93) Conflicts: src/include/encoding.h src/mds/CDir.cc src/mds/MDCache.cc src/mds/Migrator.cc src/mds/Server.cc src/mds/SnapClient.h src/mds/journal.cc
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com> (cherry picked from commit 43af5af)
Partial-fix: http://tracker.ceph.com/issues/21402 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com> (cherry picked from commit b7fa3ee)
Partial-fix: http://tracker.ceph.com/issues/21402 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com> (cherry picked from commit 6b7073f) Conflicts: src/mds/CDir.cc src/mds/CInode.cc src/mds/MDBalancer.cc src/mds/MDCache.cc src/messages/MDirUpdate.h
Partial-fix: http://tracker.ceph.com/issues/21402 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com> (cherry picked from commit 920ea85)
Partial-fix: http://tracker.ceph.com/issues/21402 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com> (cherry picked from commit 7e2f59a) Conflicts: src/mds/CInode.cc src/mds/Locker.cc src/mds/MDCache.cc src/mds/Server.cc src/mds/mdstypes.cc src/mds/mdstypes.h
Partial-fix: http://tracker.ceph.com/issues/21402 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com> (cherry picked from commit b106408)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com> (cherry picked from commit e9be29c)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com> (cherry picked from commit 46c25ab)
This is a compatibility band-aid on this backport. Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
batrick
force-pushed
the
i22972
branch
4 times, most recently
from
February 22, 2018 21:12
9408562
to
f5922c9
Compare
Luminous uses C++11. These fixes correct compiler errors. Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
batrick
changed the title
[WIP] luminous: mds: move remaining containers in CDentry/CDir/CInode to mempool
luminous: mds: move remaining containers in CDentry/CDir/CInode to mempool
Feb 22, 2018
http://pulpito.ceph.com/?branch=wip-pdonnell-testing-20180223.221257 (ignore fs) Testing looks good to me. |
theanalyst
added
luminous-batch-1
wip-yuri2-testing
and removed
luminous-batch-1
labels
Mar 21, 2018
Looks good to me @yuriw. I cannot add approval review as it's my PR. |
|
batrick
added a commit
that referenced
this pull request
Mar 27, 2018
* refs/pull/20527/head: mds: various fixes for backport mds: convert to boost::string_view test/encoding: refactor to avoid escaping shell magic mds: minor refactor of SimpleLock mds: track Capability in mempool mds: move CInode container members to mempool mds: move CDentry container members to mempool mds: move CDir container members to mempool mds: put MDSCacheObject compact_map in mempool common: use size_t for object size mds: convert to allocator agnostic string_view mds: simplify initialization compact_*: support mempool allocated containers Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
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.
http://tracker.ceph.com/issues/22972