File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ function TEST_bluestore() {
3333 CEPH_ARGS+=" --bluestore_block_wal_size=536870912 "
3434 CEPH_ARGS+=" --bluestore_block_wal_create=true "
3535 CEPH_ARGS+=" --bluestore_fsck_on_mount=true "
36+ # choosing randomly allocation from file
37+ CEPH_ARGS+=" --bluestore_allocation_from_file=$(( RANDOM % 2 )) "
3638
3739 run_mon $dir a || return 1
3840 run_mgr $dir x || return 1
@@ -465,7 +467,7 @@ function TEST_bluestore_expand() {
465467 total_space_after=$( ceph tell osd.0 perf dump bluefs | jq " .bluefs.slow_total_bytes" )
466468 free_space_after=` ceph tell osd.0 bluestore bluefs device info | grep " BDEV_SLOW" -A 2 | grep free | cut -d' :' -f 2 | cut -d" ," -f 1 | cut -d' ' -f 2`
467469
468- if [$total_space_after != $requested_space ]; then
470+ if [ $total_space_after != $requested_space ]; then
469471 echo " total_space_after = $total_space_after "
470472 echo " requested_space = $requested_space "
471473 return 1;
You can’t perform that action at this time.
0 commit comments