Skip to content

os/bluestore: pass string_view to ctor of Allocator#41573

Merged
tchaikov merged 1 commit intoceph:masterfrom
tchaikov:wip-allocat-ctor
May 29, 2021
Merged

os/bluestore: pass string_view to ctor of Allocator#41573
tchaikov merged 1 commit intoceph:masterfrom
tchaikov:wip-allocat-ctor

Conversation

@tchaikov
Copy link
Contributor

just for the sake of correctness, as they don't need a full-blown
std::string, what they need is but a string like object. and they always
create a std::string instance as a member variable if they want to have
a copy of it.

Signed-off-by: Kefu Chai kchai@redhat.com

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 classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

just for the sake of correctness, as they don't need a full-blown
std::string, what they need is but a string like object. and they always
create a std::string instance as a member variable if they want to have
a copy of it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
@tchaikov tchaikov force-pushed the wip-allocat-ctor branch from 740204e to 258ffd2 Compare May 27, 2021 15:37
@tchaikov tchaikov merged commit 2ba0f48 into ceph:master May 29, 2021
@tchaikov tchaikov deleted the wip-allocat-ctor branch May 29, 2021 02:36
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.

2 participants