Whamcloud - gitweb
Branch: b1_4
authoradilger <adilger>
Mon, 7 Mar 2005 19:34:59 +0000 (19:34 +0000)
committeradilger <adilger>
Mon, 7 Mar 2005 19:34:59 +0000 (19:34 +0000)
Remove obsolete open_delay.c program, can use "openfile -f O_LOV_DELAY_CREATE"
instead.

lustre/tests/Makefile.am
lustre/tests/Makefile.mk
lustre/tests/open_delay.c [deleted file]

index c042fe2..96f9e7d 100644 (file)
@@ -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
index b0106ac..de01e97 100644 (file)
@@ -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 (file)
index e4f46dc..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#include <fcntl.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <lustre/lustre_user.h>
-
-int main(int argc, char **argv)
-{
-        int fd;
-
-        if (argc != 2) {
-                printf("Usage %s <filename>\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;
-}