Skip to contentSkip to conversation

xfs/167: wait for fsstress to exit

PATCH New Eryu Guan 1 participant 1 message Oct 8, 2015

lore
Share & tools
lore

Eryu Guan

author
#0 lore raw

PATCH 1/1 xfs/167: wait for fsstress to exit

sync doesn't guarantee all fsstress processes died, and sometimes it ends up running fsck on a mounted fs.

Use wait to wait for fsstress to exit.

---
 tests/xfs/167 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/xfs/167 +1 -1
index 875bd31..e6c65d2 100755
@@ -35,7 +35,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _cleanup()
 {
 	$KILLALL_PROG -r -q -TERM fsstress 2> /dev/null
-	sync	# ensures all fsstress processes died
+	wait	# ensures all fsstress processes died
 }
 
 workout()
Signature · 1 line
2.4.3