Date: Wed, 10 Feb 2016 17:57:24 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r295477 - head/tests/sys/geom/class/gate Message-ID: <201602101757.u1AHvOxe033479@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Wed Feb 10 17:57:24 2016 New Revision: 295477 URL: https://svnweb.freebsd.org/changeset/base/295477 Log: Similar to r295116, add an additional 1 second sleep after calling ggatel before calling dd to defeat a race when writing out to the geom_gate(4) device MFC after: 1 month Reported by: Jenkins Sponsored by: EMC / Isilon Storage Division Modified: head/tests/sys/geom/class/gate/3_test.sh Modified: head/tests/sys/geom/class/gate/3_test.sh ============================================================================== --- head/tests/sys/geom/class/gate/3_test.sh Wed Feb 10 17:55:39 2016 (r295476) +++ head/tests/sys/geom/class/gate/3_test.sh Wed Feb 10 17:57:24 2016 (r295477) @@ -27,6 +27,7 @@ if ! ggatel create -u $us /dev/$work; th exit 1 fi +sleep 1 dd if=/dev/${src} of=/dev/ggate${us} bs=1m count=1 conv=sync sleep 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602101757.u1AHvOxe033479>