All of lore.kernel.org
 help / color / mirror / Atom feed
* main - tests: add data sync
@ 2023-04-21 12:53 Zdenek Kabelac
  0 siblings, 0 replies; only message in thread
From: Zdenek Kabelac @ 2023-04-21 12:53 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=8bcf46a0acfa500b4fb586cba254ca3930389d3d
Commit:        8bcf46a0acfa500b4fb586cba254ca3930389d3d
Parent:        80ebec099dbb20e46655958e1ca7fcfd466b78d8
Author:        Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate:    Fri Apr 21 14:51:47 2023 +0200
Committer:     Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Fri Apr 21 14:52:43 2023 +0200

tests: add data sync

---
 test/shell/thin-foreign-dmeventd.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/shell/thin-foreign-dmeventd.sh b/test/shell/thin-foreign-dmeventd.sh
index 561cea885..76995a3d0 100644
--- a/test/shell/thin-foreign-dmeventd.sh
+++ b/test/shell/thin-foreign-dmeventd.sh
@@ -70,6 +70,8 @@ mkdir "$MOUNT_DIR"
 # This mkfs should fill 2MB pool over 95%
 # no autoresize is configured
 mkfs.ext4 "$DM_DEV_DIR/mapper/$THIN"
+# ensure all data from mkfs are written to disk
+sync
 test "$(percent_)" -gt 95
 mount "$DM_DEV_DIR/mapper/$THIN" "$MOUNT_DIR"
 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-21 12:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-21 12:53 main - tests: add data sync Zdenek Kabelac

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.