1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-08 08:58:50 +03:00

tests: enforce 4K block for integrity fs

With raid tests it's important we don't get spread of 4K file
across 1K block on a multiple disk stripe - so use 4K block size
for ext4 fs.
This commit is contained in:
Zdenek Kabelac 2023-04-23 00:03:43 +02:00
parent 7cf5feb7d2
commit ce8835d4c4
2 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ _prepare_vg() {
}
_test_fs_with_read_repair() {
mkfs.ext4 "$DM_DEV_DIR/$vg/$lv1"
mkfs.ext4 -b 4096 "$DM_DEV_DIR/$vg/$lv1"
mount "$DM_DEV_DIR/$vg/$lv1" $mnt
@ -92,7 +92,7 @@ _test_fs_with_read_repair() {
}
_add_new_data_to_mnt() {
mkfs.ext4 "$DM_DEV_DIR/$vg/$lv1"
mkfs.ext4 -b 4096 "$DM_DEV_DIR/$vg/$lv1"
mount "$DM_DEV_DIR/$vg/$lv1" $mnt

View File

@ -45,7 +45,7 @@ _prepare_vg() {
}
_test_fs_with_read_repair() {
mkfs.ext4 "$DM_DEV_DIR/$vg/$lv1"
mkfs.ext4 -b 4096 "$DM_DEV_DIR/$vg/$lv1"
mount "$DM_DEV_DIR/$vg/$lv1" $mnt
@ -73,7 +73,7 @@ _test_fs_with_read_repair() {
}
_add_new_data_to_mnt() {
mkfs.ext4 "$DM_DEV_DIR/$vg/$lv1"
mkfs.ext4 -b 4096 "$DM_DEV_DIR/$vg/$lv1"
mount "$DM_DEV_DIR/$vg/$lv1" $mnt