mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
+12
-3
@@ -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
File diff suppressed because it is too large
Load Diff
@@ -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\
|
||||
|
||||
Reference in New Issue
Block a user