Skip to content

Comments

Wip rgw blake2#30606

Closed
mattbenjamin wants to merge 14 commits intoceph:mainfrom
linuxbox2:wip-rgw-blake2
Closed

Wip rgw blake2#30606
mattbenjamin wants to merge 14 commits intoceph:mainfrom
linuxbox2:wip-rgw-blake2

Conversation

@mattbenjamin
Copy link
Contributor

@mattbenjamin mattbenjamin commented Sep 26, 2019

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard backend
  • jenkins test docs
  • jenkins render docs

Copy link
Contributor

@cbodley cbodley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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]>
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]>
d.Update((const unsigned char *)p.c_str(), p.length());
}
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve of this function.

@cbodley
Copy link
Contributor

cbodley commented Dec 19, 2019

needs a rebase

@stale
Copy link

stale bot commented Feb 17, 2020

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.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@stale stale bot added the stale label Feb 17, 2020
@mattbenjamin
Copy link
Contributor Author

unstale

@stale stale bot closed this Sep 20, 2020
@mattbenjamin
Copy link
Contributor Author

unstale

@mattbenjamin mattbenjamin reopened this Sep 20, 2020
@stale stale bot removed the stale label Sep 20, 2020
@stale
Copy link

stale bot commented Nov 22, 2020

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.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@stale stale bot added the stale label Nov 22, 2020
@mattbenjamin
Copy link
Contributor Author

unstale

@github-actions
Copy link

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@stale
Copy link

stale bot commented Jul 21, 2021

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.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@stale stale bot added the stale label Jul 21, 2021
@mattbenjamin
Copy link
Contributor Author

let this not be stale

@stale stale bot removed the stale label Jul 21, 2021
@stale
Copy link

stale bot commented Jan 9, 2022

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.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@stale stale bot added the stale label Jan 9, 2022
@github-actions
Copy link

github-actions bot commented Jul 7, 2022

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!

@github-actions github-actions bot closed this Jul 7, 2022
@mattbenjamin
Copy link
Contributor Author

oh noes!

@mattbenjamin mattbenjamin reopened this Jul 7, 2022
@djgalloway djgalloway changed the base branch from master to main July 9, 2022 00:00
@github-actions
Copy link

github-actions bot commented Sep 7, 2022

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.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions bot added the stale label Sep 7, 2022
@github-actions
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants