summaryrefslogtreecommitdiffstats
path: root/qa
diff options
context:
space:
mode:
authorAdam Kupczyk <akupczyk@ibm.com>2024-10-16 15:56:26 +0200
committerAdam Kupczyk <akupczyk@ibm.com>2024-10-16 21:07:20 +0200
commitebd3d454d53d90992773eaf77180ee0c926c2c7f (patch)
tree5cf2e2e96d2d4765cb71a39bae2ae954200e5990 /qa
parentMerge pull request #60055 from guits/tracker_68312 (diff)
downloadceph-ebd3d454d53d90992773eaf77180ee0c926c2c7f.tar.xz
ceph-ebd3d454d53d90992773eaf77180ee0c926c2c7f.zip
qa/standalone/bluefs: Fix CBT bluefs-bdev-expand
There was a problem when expansion of 'block' device crossed location of bdev label copy. The extra label that did not exist before and now exists was not initialized. This makes test to fail. Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
Diffstat (limited to 'qa')
-rwxr-xr-xqa/standalone/osd/osd-bluefs-volume-ops.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/standalone/osd/osd-bluefs-volume-ops.sh b/qa/standalone/osd/osd-bluefs-volume-ops.sh
index aedfbc9b5cb..f7424de8ce1 100755
--- a/qa/standalone/osd/osd-bluefs-volume-ops.sh
+++ b/qa/standalone/osd/osd-bluefs-volume-ops.sh
@@ -72,7 +72,7 @@ function TEST_bluestore() {
truncate $dir/0/block -s 4294967296 # 4GB
ceph-bluestore-tool --path $dir/0 bluefs-bdev-expand || return 1
- truncate $dir/1/block -s 4311744512 # 4GB + 16MB
+ truncate $dir/1/block -s 11811160064 # 11GB to get bdev label at 10737418240
ceph-bluestore-tool --path $dir/1 bluefs-bdev-expand || return 1
truncate $dir/2/block -s 4295099392 # 4GB + 129KB
ceph-bluestore-tool --path $dir/2 bluefs-bdev-expand || return 1