]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: start using 64-bit intervals for bitmap allocator
authorIgor Fedotov <ifedotov@suse.com>
Wed, 13 Mar 2019 16:09:40 +0000 (19:09 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Mon, 1 Apr 2019 16:43:26 +0000 (19:43 +0300)
commit1d61be04a08b15b60c556be9d89f67670ff7a7d9
treebbfd08211c1f3b7d4e5de33e355d077d7b48bc62
parent6201aac76d5f1cba9a9ec83b75b65bf716d7a8e5
os/bluestore: start using 64-bit intervals for bitmap allocator

This helps to avoid 4Gb+ values wrapping which resulted in
allocation failures.

Fixes: https://tracker.ceph.com/issues/38761
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit d1466963a60ed2345a6fc159071ec09ce422b656)
src/os/bluestore/fastbmap_allocator_impl.h
src/test/objectstore/fastbmap_allocator_test.cc