Skip to content
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

common/bl: carry the bufferlist::_carriage over std::moves #32937

Merged
merged 2 commits into from Feb 27, 2020

Conversation

rzarzynski
Copy link
Contributor

The two last commits improve the bufferlist move constructor:

  • the first one fixes the unnecessary zeroization of bufferlist::_carriage preventing the carry the append space to new instance of bufferlist constructed by moving-from another one,
  • the last one makes the move constructor inlineable which is pretty important for for crimson as we tend to move seastar::future<ceph::bufferlist> over the IO path.

Other commits are pulled just as dependency in development process. Possibly many of them could be squeezed if necessary.

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
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@tchaikov
Copy link
Contributor

@rzarzynski rebase?

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
This is pretty important for crimson as we tend to move future<bl>
in a few places over the hot IO path.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
@rzarzynski
Copy link
Contributor Author

@tchaikov: rebased!

@tchaikov
Copy link
Contributor

probably we can hold back until octopus is released.

@tchaikov
Copy link
Contributor

http://pulpito.ceph.com/kchai-2020-02-26_11:11:16-rados-wip-kefu-testing-2020-02-26-1356-distro-basic-smithi/

none of the failures is related. all of them are being fixed by pending PRs.

@tchaikov tchaikov merged commit badebe7 into ceph:master Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants