summaryrefslogtreecommitdiffstats
path: root/test/h5test.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/h5test.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/h5test.c')
-rw-r--r--test/h5test.c2
1 files changed, 1 insertions, 1 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 */