pkglib_SCRIPTS = common.sh
pkgcfg_DATA = lustre.cfg
noinst_PROGRAMS = openunlink testreq truncate directio openme writeme mcreate
-noinst_PROGRAMS += munlink tchmod toexcl fsx test_brw #ldaptest
+noinst_PROGRAMS += munlink tchmod toexcl fsx test_brw openclose #ldaptest
# ldaptest_SOURCES = ldaptest.c
tchmod_SOURCES = tchmod.c
writeme_SOURCES = writeme.c
fsx_SOURCES = fsx.c
test_brw_SOURCES = test_brw.c
+openclose_SOURCES = openclose.c
include $(top_srcdir)/Rules
}
for (i = 0; i < count; i++) {
- fd = open(filename, O_RDONLY);
+ fd = open(filename, O_RDONLY|O_LARGEFILE|O_DIRECT);
if (fd < 0) {
fprintf(stderr, "open(%s, O_RDONLY): %s\n", filename,
strerror(errno));