-
Notifications
You must be signed in to change notification settings - Fork 257
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
Add new rados/striper package #1015
Conversation
Looks like rados_striper_stat2 isn't that old. I guess that's why I made this PR a draft first ;-) |
9f83185
to
ec66fbc
Compare
Reorganize the RUN command in the Dockerfile that sets up distro based repositories and ceph packages. Move the `&&` to the beginning of the lines to highlight when commands begin (and end). Change the indent level of items that are arguments to commands to further clarify what is part of what. Signed-off-by: John Mulligan <[email protected]>
Add libradosstriper devel and debug packages to the test container image. This is in preparation for adding a future `rados/striper` package to go-ceph that will wrap these APIs. Signed-off-by: John Mulligan <[email protected]>
a127aef
to
9f3bea0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only have one comment, but will not insist on it.
Otherwise I'm not sure I understand the striping concept here. Isn't it more like a bundle? What happens if you make the striped object smaller? Does the number of underlying objects change? Anyway, that is not related to this PR.
Maybe they're using the terms poorly, but AFAIK it just writes segments of the "virtual object" across many objects in rados. Any other questions, I think you'd have to ask the ceph team :-) |
Start a new `rados/striper` package that wraps Ceph's libradosstriper. The libradosstriper library builds on top of the librados library to support striping large "objects" over multiple RADOS objects. Fixes: ceph#1011 Signed-off-by: John Mulligan <[email protected]>
Add support for xattr APIs to the Striper object. Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
Add a package doc comment that also points out some things I learned about how `rados` command line tool lists striped objects to preempt being asked later on. :-) Signed-off-by: John Mulligan <[email protected]>
Add rados/striper to the implements tool. It needs to be recognized as a new C-API wrapping library. Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
9f3bea0
to
6fa0723
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still good with the current version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add a new
rados/striper
package that wraps Ceph's libradosstriper. The libradosstriper library builds on top of the librados library to support striping large "objects" over multiple RADOS objects.Fixes: #1011
Checklist
//go:build ceph_preview
make api-update
to record new APIsNew or infrequent contributors may want to review the go-ceph Developer's Guide including the section on how we track API Status and the API Stability Plan.
The go-ceph project uses mergify. View the mergify command guide for information on how to interact with mergify. Add a comment with
@Mergifyio
rebase
to rebase your PR when github indicates that the PR is out of date with the base branch.