summaryrefslogtreecommitdiffstats
path: root/test/vfd.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2006-10-27 02:41:19 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2006-10-27 02:41:19 (GMT)
commit0f040c40f0b8759ea7af6b2dcbf6bb75e92e34dd (patch)
tree2721acae3ea82a76bc35e814b4ab129184052f94 /test/vfd.c
parent469f6d30b1b6641f62bda85f31ca2b3c03dba428 (diff)
downloadhdf5-0f040c40f0b8759ea7af6b2dcbf6bb75e92e34dd.zip
hdf5-0f040c40f0b8759ea7af6b2dcbf6bb75e92e34dd.tar.gz
hdf5-0f040c40f0b8759ea7af6b2dcbf6bb75e92e34dd.tar.bz2
[svn-r12820] Added fragmental copy buffer to H5FD_direct_write. This buffer size is set through
H5Pset_fapl_direct. It's been added to H5FD_direct_read in the previous checkin. Still, a test is needed at later checkin.
Diffstat (limited to 'test/vfd.c')
-rw-r--r--test/vfd.c8
1 files changed, 4 insertions, 4 deletions
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");