1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: use conf=fdatasync

Since we write here in 1k blocksize - we can't use direct.
This commit is contained in:
Zdenek Kabelac 2023-07-13 21:22:26 +02:00
parent ae512e20f5
commit 2ecd290c0d

View File

@ -19,7 +19,7 @@ extend() {
}
write_() {
dd if=/dev/zero of="$DM_DEV_DIR/$vg/snap" bs=1k count=$2 seek=$1 oflag=direct
dd if=/dev/zero of="$DM_DEV_DIR/$vg/snap" bs=1k count=$2 seek=$1 conv=fdatasync
}
percent_() {