Skip to content

Commit

Permalink
s/gnudd/dd/ and s/MINDEVSIZE/MINVDEVSIZE/
Browse files Browse the repository at this point in the history
The former was likely a leftover from the port of OpenZFS 7290 and its
successors.  The latter has been wrong since the port of OpenZFS 7104.

Signed-off-by: Tim Chase <tim@chase2k.com>
  • Loading branch information
dweeezil committed Apr 13, 2018
1 parent ac444e6 commit b22a603
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/zfs-tests/tests/functional/redundancy/redundancy.kshlib
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,9 @@ function replace_missing_devs

typeset vdev
for vdev in $@; do
log_must gnudd if=/dev/zero of=$vdev \
bs=1024k count=$(($MINDEVSIZE / (1024 * 1024))) \
oflag=fdatasync
log_must dd if=/dev/zero of=$vdev \
bs=1024k count=$(($MINVDEVSIZE / (1024 * 1024))) \
conv=fdatasync
log_must zpool replace -f $pool $vdev $vdev
while true; do
if ! is_pool_resilvered $pool ; then
Expand Down

0 comments on commit b22a603

Please sign in to comment.