]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: turn bluestore zero block detection off by default
authorLaura Flores <lflores@redhat.com>
Fri, 6 May 2022 17:14:10 +0000 (17:14 +0000)
committerLaura Flores <lflores@redhat.com>
Tue, 31 May 2022 22:59:44 +0000 (22:59 +0000)
commitbaadb760a616a0f809e23d9fd5c4ca574bee6697
treec2da52d46c7dc78bb8b320864ffaecb95eb1c3a4
parenteeaa9921951366ec96de45f7ca270cfee9d3e82d
os/bluestore: turn bluestore zero block detection off by default

This commit adds a new global config option called `bluestore_zero_block_detection`.
This option is used at a dev level to skip zero bufferlist writes in large-scale
testing scenarios.

Store tests originally written for the BlueStore zero block detection feature
now account for the global config option; these tests will only run if
`bluestore_zero_block_detection` is set to "true".

Fixes: https://tracker.ceph.com/issues/55521
Signed-off-by: Laura Flores <lflores@redhat.com>
(cherry picked from commit 4a8180952c292aa2f8ee656685fcdddc3f0f0a4f)
src/common/options/global.yaml.in
src/os/bluestore/BlueStore.cc
src/test/objectstore/store_test.cc