summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/h5test.c2
-rw-r--r--test/vfd.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/test/h5test.c b/test/h5test.c
index 6c9e8ee..93f992e 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -581,7 +581,7 @@ h5_fileaccess(void)
#ifdef H5_HAVE_DIRECT
/* Linux direct read() and write() system calls. Set memory boundary, file block size,
* and copy buffer size to the default values. */
- if (H5Pset_fapl_direct(fapl, 0, 0, 0)<0) return -1;
+ if (H5Pset_fapl_direct(fapl, 1024, 4096, 8*4096)<0) return -1;
#endif
} else {
/* Unknown driver */
diff --git a/test/vfd.c b/test/vfd.c
index 02e2478..8c1fb23 100644
--- a/test/vfd.c
+++ b/test/vfd.c
@@ -29,7 +29,7 @@
#define CORE_INCREMENT (4*KB)
#define MBOUNDARY 512
#define FBSIZE 4096
-#define CBSIZE 64*1024*1024
+#define CBSIZE 4096
const char *FILENAME[] = {
"sec2_file",
@@ -145,9 +145,9 @@ test_direct(void)
char filename[1024];
int *fhandle=NULL;
hsize_t file_size;
- hsize_t mbound;
- hsize_t fbsize;
- hsize_t cbsize;
+ size_t mbound;
+ size_t fbsize;
+ size_t cbsize;
#endif /*H5_HAVE_DIRECT*/
TESTING("Direct I/O file driver");