]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: fix bloom filter num entry miscalculation in the repairer 24339/head
authorIgor Fedotov <ifedotov@suse.com>
Thu, 13 Sep 2018 13:22:39 +0000 (16:22 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Fri, 28 Sep 2018 18:09:18 +0000 (21:09 +0300)
commitc809f2d6a712d4ac8ae6da07f0f262b1382cd380
treec6de2ae2c75e7ce75356c3314eb6d627be9dcc7e
parentdd80d9cabd718d2423298c8e3d9bbc222b314269
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>
(cherry picked from commit 50919813a15d9c29c182062f88885890c55eb76e)
src/os/bluestore/BlueStore.h
src/test/objectstore/test_bluestore_types.cc