mkdir -p $DIR/$tdir
rm -f $DIR/$tdir/$tfile
wait_mds_ost_sync
- wait_destroy_complete
+ wait_delete_completed
BLOCKS1=$(df -P $MOUNT | tail -n 1 | awk '{ print $3 }')
$SETSTRIPE -i 0 -c 1 $DIR/$tdir/$tfile
dd if=/dev/zero bs=1M count=10 of=$DIR/$tdir/$tfile
zconf_mount $(hostname) $MOUNT
client_up || return 1
wait_mds_ost_sync
+ wait_delete_completed
BLOCKS2=$(df -P $MOUNT | tail -n 1 | awk '{ print $3 }')
[ "$BLOCKS1" == "$BLOCKS2" ] || error $((BLOCKS2 - BLOCKS1)) blocks leaked
}