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
This commit is contained in:
Enji Cooper 2016-02-10 17:57:24 +00:00
parent c5805a3deb
commit 8e89d3a42a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295477

View File

@ -27,6 +27,7 @@ if ! ggatel create -u $us /dev/$work; then
exit 1
fi
sleep 1
dd if=/dev/${src} of=/dev/ggate${us} bs=1m count=1 conv=sync
sleep 1