Skip to content

Commit ebd3d45

Browse files
committed
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 <[email protected]>
1 parent 8981bfc commit ebd3d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qa/standalone/osd/osd-bluefs-volume-ops.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function TEST_bluestore() {
7272

7373
truncate $dir/0/block -s 4294967296 # 4GB
7474
ceph-bluestore-tool --path $dir/0 bluefs-bdev-expand || return 1
75-
truncate $dir/1/block -s 4311744512 # 4GB + 16MB
75+
truncate $dir/1/block -s 11811160064 # 11GB to get bdev label at 10737418240
7676
ceph-bluestore-tool --path $dir/1 bluefs-bdev-expand || return 1
7777
truncate $dir/2/block -s 4295099392 # 4GB + 129KB
7878
ceph-bluestore-tool --path $dir/2 bluefs-bdev-expand || return 1

0 commit comments

Comments
 (0)