]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: fix decoding hash of bnode
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 18 Aug 2016 10:12:23 +0000 (18:12 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 18 Aug 2016 22:30:16 +0000 (06:30 +0800)
commit434b18a61e5f13c8982ea9898ef4782bf4bd246e
treefc9802be240d34f429c97b26645d24fdd8fe2e24
parente354918ec8da6b6990251d9e07b4eede35ba5778
os/bluestore: fix decoding hash of bnode

We encode reversed bits of hash and then write it onto disk,
therefore we shall decode and then reserse to get it back.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/BlueStore.cc