]> git.apps.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>
Fri, 27 May 2022 18:36:18 +0000 (13:36 -0500)
commit4a8180952c292aa2f8ee656685fcdddc3f0f0a4f
treef244216564cad8fd67c20e3e39e15d0bb557a577
parent86959381a6974a462ab924e44d1d6613f7124e2b
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>
src/common/options/global.yaml.in
src/os/bluestore/BlueStore.cc
src/test/objectstore/store_test.cc