Repository navigation
Conversation
ceph-disk-* refactor
FIXME! Signed-off-by: Sage Weil <[email protected]>
Introducing a new way to define the json structure of an object, similar to what we do with bufferlist encode/decode. Signed-off-by: Yehuda Sadeh <[email protected]>
RGWUserInfo can be decoded using json_decode, and fix the ->dump() method to match that decoding. Signed-off-by: Yehuda Sadeh <[email protected]>
Now testing json_decode functionality. Signed-off-by: Yehuda Sadeh <[email protected]>
Signed-off-by: Yehuda Sadeh <[email protected]>
dump() just dumps the internal content of an object, encode_json() create the object inside its own section. Note that there are cases where we don't want an object to be surrounded by a section, e.g., when an object represents an array. In such a case we'd need to override the encode_json() for this object type. Signed-off-by: Yehuda Sadeh <[email protected]>
Signed-off-by: Yehuda Sadeh <[email protected]>
Old cluster definition is what we'd call zone from now on. Signed-off-by: Yehuda Sadeh <[email protected]>
Signed-off-by: John Wilkins <[email protected]>
test: add ceph_rename test Reviewed-by: Sage Weil <[email protected]>
Fixes: #4435 Reviewed-by: David Zafman <[email protected]>
Also rename RadosParams to ZoneParams Signed-off-by: Yehuda Sadeh <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
Allow an existing bucket to get linked from a new position in the tree. Signed-off-by: Sage Weil <[email protected]>
If we are adding an item, ensure it cannot form a loop in the tree/map/ DAG. Signed-off-by: Sage Weil <[email protected]>
Allow a second reference to an existing bucket to be added. This lets you create a DAG instead of a tree using the CLI. Signed-off-by: Sage Weil <[email protected]>
Remove only instances of item nested beneath a particular ancestor. Signed-off-by: Sage Weil <[email protected]>
Remove only instances of the item underneath a particular ancestor. Signed-off-by: Sage Weil <[email protected]>
The find_roots() was looking for nodes referenced by 'take', but those aren't necessarily roots, which is what the callers actually want. Rename to find_takes() and add a real find_roots(). Not very efficient, but we don't care. Signed-off-by: Sage Weil <[email protected]>
No reason to limit this to leaves. Signed-off-by: Sage Weil <[email protected]>
This is (I think) the last missing piece to let you construct an entire map via the CLI. The add/set commands will construct intervening ancestor nodes provide there is an existing ancestor to stick them under, but this is needed to create the initial root node. Signed-off-by: Sage Weil <[email protected]>
Remove the bucket if there are no references left. Remove the name from the map even if it is a bucket (not sure why that condition was there in the first place!). Signed-off-by: Sage Weil <[email protected]>
Make an 'unlink' mode of remove that will remove a link to a bucket but not remove the bucket itself. This refactors remove_item[_under] and moves some of the checks into common helpers where they are not duplicated. Fix callers to pass the extra arg. Signed-off-by: Sage Weil <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
Note if the cluster is degraded. If so, indicate specifically which MDSs are degraded and what state they are in. Signed-off-by: Sage Weil <[email protected]>
Make sure that rename fails with the ENOENT if the source path doesn't exist. Signed-off-by: Sam Lang <[email protected]>
Signed-off-by: Yan, Zheng <[email protected]> Reviewed-by: Greg Farnum <[email protected]>
Signed-off-by: Yan, Zheng <[email protected]> Reviewed-by: Greg Farnum <[email protected]>
Signed-off-by: Yan, Zheng <[email protected]> Reviewed-by: Greg Farnum <[email protected]>
Signed-off-by: Yan, Zheng <[email protected]> Reviewed-by: Greg Farnum <[email protected]>
The comment says that if the importer is dead, bystanders thinks the exporter is the only auth, as per mdcache->handle_mds_failure(). But there is no such code in MDCache::handle_mds_failure(). Signed-off-by: Yan, Zheng <[email protected]> Reviewed-by: Greg Farnum <[email protected]>
So bystanders know the subtree is single auth earlier. Signed-off-by: Yan, Zheng <[email protected]> Reviewed-by: Greg Farnum <[email protected]>
Signed-off-by: Yan, Zheng <[email protected]> Reviewed-by: Greg Farnum <[email protected]>
Signed-off-by: Yan, Zheng <[email protected]> Reviewed-by: Greg Farnum <[email protected]>
Signed-off-by: Yan, Zheng <[email protected]> Reviewed-by: Greg Farnum <[email protected]>
Signed-off-by: Yan, Zheng <[email protected]> Reviewed-by: Greg Farnum <[email protected]>
open_remote_ino is racy, it's possible someone deletes the inode's last linkage while the MDS is discovering the inode. Signed-off-by: Yan, Zheng <[email protected]> Reviewed-by: Greg Farnum <[email protected]>
This avoids sending superfluous scatterlock state to recovering MDS Signed-off-by: Yan, Zheng <[email protected]> Reviewed-by: Greg Farnum <[email protected]>
When table server is recovering, it re-sends 'agree' messages for prepared table updates. It is possible table client receives an 'agree' messages before it commits the corresponding update. Don't send 'rollback' message back to the server in this case. Signed-off-by: Yan, Zheng <[email protected]> Reviewed-by: Greg Farnum <[email protected]>
We've changed quite a lot of the restart behavior, as well as one of the message encodings. This is cheaper and easier than using feature bits, and CephFS is still a tech preview or whatever, so let's cover them using this. Signed-off-by: Greg Farnum <[email protected]>
Signed-off-by: Greg Farnum <[email protected]> Acked-by: Sage Weil <[email protected]>
rbd incremental backup/restore Reviewed-by: Josh Durgin <[email protected]>
This way lockdep can track individual locks more accurately, instead of treating all instances of AioCompletion the same. This is required in this case because an AioCompletion is used by normal I/O, and also by aio_flush(). AioCompletions for flushes don't reperesent outstanding I/O, so they are used differently. Thus, locking for aio_flush() completions is different. Without this change, lockdep would erroneously think that an aio_flush() completion lock was the same as an I/O completion lock, and hit an assert when an aio_flush() completion was called from an aio_write() completion. Signed-off-by: Josh Durgin <[email protected]>
liewegas
pushed a commit
that referenced
this pull request
Dec 14, 2016
Wip 9691 - (stable giant releases upgrades suite)
liewegas
pushed a commit
that referenced
this pull request
Dec 14, 2016
use create-initial for deploying monitors
theanalyst
pushed a commit
to theanalyst/ceph
that referenced
this pull request
Mar 5, 2018
tools/crushtool: skip device id if no name exists
liewegas
pushed a commit
to liewegas/ceph
that referenced
this pull request
Nov 5, 2021
…1-06-15 doc/cephio: adding stack.png to discover -> tech
irq0
pushed a commit
to irq0/ceph
that referenced
this pull request
Aug 14, 2023
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.
This way lockdep can track individual locks more accurately,
instead of treating all instances of the same usage of lock
as the same lock.
Signed-off-by: Josh Durgin [email protected]