]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/onode-staged-tree: implement string_view_masked_t
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 2 Nov 2020 05:24:18 +0000 (13:24 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Tue, 1 Dec 2020 04:50:54 +0000 (12:50 +0800)
commit12efd6e137b68a39433ff1def8237f97686acea2
tree27518a054cf80fa88886fb9da6fe15f802893156
parenta8b3206ce98479664366c889d7afb79b6d51c2f3
crimson/onode-staged-tree: implement string_view_masked_t

Use string_view_masked_t to consolidate a string_key_view_t with type, a
string/string_view, or a masked string. And leverage the consistant
class to do compare, print, convert and append operations.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/onode_manager/staged-fltree/fwd.h
src/crimson/os/seastore/onode_manager/staged-fltree/stages/key_layout.cc
src/crimson/os/seastore/onode_manager/staged-fltree/stages/key_layout.h