]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson: define encode_key() with IsFullKey constrait
authorKefu Chai <tchaikov@gmail.com>
Thu, 18 Aug 2022 15:10:21 +0000 (23:10 +0800)
committerKefu Chai <tchaikov@gmail.com>
Thu, 18 Aug 2022 15:10:23 +0000 (23:10 +0800)
commitd143757d24ad7cf6fb3bdc34b0947ca50785a6ac
tree8289904d13a7523d8f107d35c876e91d9eca38f9
parent50f4580686dc3523a004123fe692193130b046f1
crimson: define encode_key() with IsFullKey constrait

also, let the compiler to deduce the type of the template parameter,
less repeating and less error-prone this way.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/crimson/os/seastore/onode_manager/staged-fltree/node_extent_accessor.h
src/crimson/os/seastore/onode_manager/staged-fltree/stages/key_layout.h