]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/onode-staged-tree: fix unaligned reference to shard_pool_t::pool 46335/head
authorYingxin Cheng <yingxin.cheng@intel.com>
Thu, 19 May 2022 07:15:43 +0000 (15:15 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Thu, 19 May 2022 07:16:41 +0000 (15:16 +0800)
commit74c853034e1b2ff73f9b7fad7c9f36383b334b34
treefbf22946eafece07c887d8cef8f80da3450e1b12
parent948dd1bb13ae9be413a540a014ead04883536604
crimson/onode-staged-tree: fix unaligned reference to shard_pool_t::pool

../src/crimson/os/seastore/onode_manager/staged-fltree/stages/key_layout.h:844:44:
runtime error: reference binding to misaligned address 0x6250013ee905
for type 'const crimson::os::seastore::onode::pool_t' (aka 'const
  long'), which requires 8 byte alignment

from UndefinedBehaviorSanitizer

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