From: adilger Date: Mon, 7 Mar 2005 19:34:59 +0000 (+0000) Subject: Branch: b1_4 X-Git-Tag: v1_8_0_110~486^7~141 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=bba8c69e4a05755cf4f91e43fa0fb0c3ce08f794;p=fs%2Flustre-release.git Branch: b1_4 Remove obsolete open_delay.c program, can use "openfile -f O_LOV_DELAY_CREATE" instead. --- 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; -}