From bba8c69e4a05755cf4f91e43fa0fb0c3ce08f794 Mon Sep 17 00:00:00 2001 From: adilger Date: Mon, 7 Mar 2005 19:34:59 +0000 Subject: [PATCH] Branch: b1_4 Remove obsolete open_delay.c program, can use "openfile -f O_LOV_DELAY_CREATE" instead. --- lustre/tests/Makefile.am | 2 +- lustre/tests/Makefile.mk | 3 +-- lustre/tests/open_delay.c | 23 ----------------------- 3 files changed, 2 insertions(+), 26 deletions(-) delete mode 100644 lustre/tests/open_delay.c diff --git a/lustre/tests/Makefile.am b/lustre/tests/Makefile.am index c042fe2..96f9e7d 100644 --- a/lustre/tests/Makefile.am +++ b/lustre/tests/Makefile.am @@ -16,7 +16,7 @@ EXTRA_DIST = $(pkgexample_scripts) $(noinst_SCRIPTS) $(noinst_DATA) \ sanity.sh rundbench if TESTS pkgexample_SCRIPTS = $(pkgexample_scripts) -noinst_PROGRAMS = openunlink testreq truncate directio openme writeme open_delay +noinst_PROGRAMS = openunlink testreq truncate directio openme writeme noinst_PROGRAMS += tchmod toexcl fsx test_brw openclose createdestroy noinst_PROGRAMS += stat createmany statmany multifstat createtest mlink utime noinst_PROGRAMS += opendirunlink opendevunlink unlinkmany fchdir_test checkstat diff --git a/lustre/tests/Makefile.mk b/lustre/tests/Makefile.mk index b0106ac..de01e97 100644 --- a/lustre/tests/Makefile.mk +++ b/lustre/tests/Makefile.mk @@ -6,7 +6,7 @@ OURPTLCTL := $(addprefix $(src)/../portals/utils/, $(PTLCTLOBJS)) OURPTLCTLNOPARSER := $(addprefix $(src)/../portals/utils/, \ $(filter-out parser.o,$(PTLCTLOBJS))) -host-progs := openunlink testreq truncate directio openme writeme open_delay \ +host-progs := openunlink testreq truncate directio openme writeme \ munlink tchmod toexcl fsx test_brw openclose createdestroy \ stat createmany statmany multifstat createtest mlink \ opendirunlink opendevunlink unlinkmany fchdir_test \ @@ -43,7 +43,6 @@ runas-objs := runas.o openfile-objs := openfile.o wantedi-objs := wantedi.o createtest-objs := createtest.o -open_delay-objs := open_delay.o opendirunlink-objs :=opendirunlink.o opendevunlink-objs :=opendirunlink.o fchdir_test-objs :=fchdir_test.o diff --git a/lustre/tests/open_delay.c b/lustre/tests/open_delay.c deleted file mode 100644 index e4f46dc..0000000 --- a/lustre/tests/open_delay.c +++ /dev/null @@ -1,23 +0,0 @@ -#include -#include -#include -#include -#include - -int main(int argc, char **argv) -{ - int fd; - - if (argc != 2) { - printf("Usage %s \n", argv[0]); - exit(1); - } - - fd = open(argv[1], O_RDONLY | O_LOV_DELAY_CREATE); - if (fd == -1) { - printf("Error opening %s\n", argv[1]); - exit(1); - } - - return 0; -} -- 1.8.3.1