blob: f4d290555029c3bfa0ca78f15c25ff138d874bc7 [file] [log] [blame]
#! /bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved.
#
# FS QA Test No. 263
#
# fsx exercising direct IO vs sub-block buffered I/O
#
. ./common/preamble
_begin_fstest rw auto quick
# Import common functions.
. ./common/filter
# real QA test starts here
_supported_fs generic
_require_test
_require_odirect
psize=`$here/src/feature -s`
bsize=`_min_dio_alignment $TEST_DEV`
run_fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z
run_fsx -N 10000 -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z
status=0
exit