]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: fix bloom filter num entry miscalculation in the repairer
authorIgor Fedotov <ifedotov@suse.com>
Thu, 13 Sep 2018 13:22:39 +0000 (16:22 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Thu, 13 Sep 2018 14:24:26 +0000 (17:24 +0300)
commit50919813a15d9c29c182062f88885890c55eb76e
tree1d2d196d7222149e15a08b16f8a131891453a857
parentd53dd387af016020bfd0725f4f0cbbbe6b0944cf
os/bluestore: fix bloom filter num entry miscalculation in the repairer

This could  cause an assertion due to an access to uninitialized bloom
filter. This happened  when detecting errors involving physical extents close to the end of a large partition.
E.g. it was observed in http://tracker.ceph.com/issues/25001 while trying to repair an OSD.

Fixes: https://tracker.ceph.com/issues/35971
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
src/os/bluestore/BlueStore.h
src/test/objectstore/test_bluestore_types.cc