Add AIO test 113 into the mix, enable AIO testing capability in local fsx.

Merge of master-melb:xfs-cmds:21487a by kenmcd.
This commit is contained in:
Nathan Scott
2005-02-14 13:52:05 +00:00
parent 6bf85bc85e
commit 2446ccc509
12 changed files with 1636 additions and 433 deletions
+12 -3
View File
@@ -1,5 +1,5 @@
#
# Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
# Copyright (c) 2003-2005 Silicon Graphics, Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of version 2 of the GNU General Public License as
@@ -39,8 +39,12 @@ HFILES = doio.h
LDIRT = $(TARGETS)
LCFLAGS = -DXFS
IFLAG = -I$(TOPDIR)/src #Used for including $(TOPDIR)/src/global.h
#LCFLAGS += -DAIO
#LIBAIO =-laio
ifeq ($(HAVE_AIO), true)
TARGETS += aio-stress
LCFLAGS += -DAIO
LIBAIO = -laio -lpthread
endif
default: $(TARGETS)
@@ -61,3 +65,8 @@ growfiles: growfiles.c $(LIBTEST)
iogen: iogen.c $(LIBTEST)
$(LINKTEST) $(LIBTEST) $(IFLAG)
ifeq ($(HAVE_AIO), true)
aio-stress: aio-stress.c
$(LINKTEST) $(LIBAIO) $(LDLIBS)
endif
+1472
View File
File diff suppressed because it is too large Load Diff
+5 -3
View File
@@ -844,9 +844,11 @@ usage(void)
-s style: 1 gives smaller truncates (default 0)\n\
-t truncbdy: 4096 would make truncates page aligned (default 1)\n\
-w writebdy: 4096 would make writes page aligned (default 1)\n\
-x: preallocate file space before starting, XFS only (default 0)\n\
-A: Use the AIO system calls\n\
-D startingop: debug output starting at specified operation\n\
-x: preallocate file space before starting, XFS only (default 0)\n"
#ifdef AIO
"-A: Use the AIO system calls\n"
#endif
"-D startingop: debug output starting at specified operation\n\
-L: fsxLite - no file creations & no file size changes\n\
-N numops: total # operations to do (default infinity)\n\
-O: use oplen (see -o flag) for every op (default random)\n\