Conversation
9f226b7 to
f290b2c
Compare
cbodley
left a comment
There was a problem hiding this comment.
any ideas for test coverage?
can any of this stuff apply to multipart uploads? if not, we probably want to avoid doing the checksum calculations on the parts themselves. and similarly for Appendable objects
Fast, cryptographic hash functions suitable for block checksums. Signed-off-by: Matt Benjamin <[email protected]>
Adds new Blake2b digest format (native), a concrete type to represent digests, and static_visitor machinery to unify varying checksum computations. Fixes: https://tracker.ceph.com/issues/42080 Signed-off-by: Matt Benjamin <[email protected]>
The actual config-observer instance is static, but initialized from rgw_main. Signed-off-by: Matt Benjamin <[email protected]>
Signed-off-by: Matt Benjamin <[email protected]>
Signed-off-by: Matt Benjamin <[email protected]>
Signed-off-by: Matt Benjamin <[email protected]>
Signed-off-by: Matt Benjamin <[email protected]>
Signed-off-by: Matt Benjamin <[email protected]>
Signed-off-by: Matt Benjamin <[email protected]>
Signed-off-by: Matt Benjamin <[email protected]>
Signed-off-by: Matt Benjamin <[email protected]>
Signed-off-by: Matt Benjamin <[email protected]>
The default copy constructor is invalid (traps), but move assignment/construction is legal. Signed-off-by: Matt Benjamin <[email protected]>
In generic code, lift the update step from the template digest helper in ceph_crypto.h. Use it to remove some buffer::list::c_str() calls in RGW code. Add similar support in rgw::cksum::Digest, which can't call the template forms due to inheritance. Signed-off-by: Matt Benjamin <[email protected]>
f290b2c to
c2f9b91
Compare
| d.Update((const unsigned char *)p.c_str(), p.length()); | ||
| } | ||
| } | ||
|
|
There was a problem hiding this comment.
I approve of this function.
|
needs a rebase |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
unstale |
|
unstale |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
unstale |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
let this not be stale |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution! |
|
oh noes! |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution! |
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard backendjenkins test docsjenkins render docs