summaryrefslogtreecommitdiffstats
path: root/src/H5FDdirect.h
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 /src/H5FDdirect.h
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 'src/H5FDdirect.h')
-rw-r--r--src/H5FDdirect.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5FDdirect.h b/src/H5FDdirect.h
index 754cd3b..e4cdc32 100644
--- a/src/H5FDdirect.h
+++ b/src/H5FDdirect.h
@@ -38,14 +38,14 @@ extern "C" {
* Application can set these values through the function H5Pset_fapl_direct. */
#define MBOUNDARY_DEF 4096
#define FBSIZE_DEF 4096
-#define CBSIZE_DEF 128*1024*1024
+#define CBSIZE_DEF 16*1024*1024
H5_DLL hid_t H5FD_direct_init(void);
H5_DLL void H5FD_direct_term(void);
-H5_DLL herr_t H5Pset_fapl_direct(hid_t fapl_id, hsize_t alignment, hsize_t block_size,
- hsize_t cbuf_size);
-H5_DLL herr_t H5Pget_fapl_direct(hid_t fapl_id, hsize_t *boundary/*out*/,
- hsize_t *block_size/*out*/, hsize_t *cbuf_size/*out*/);
+H5_DLL herr_t H5Pset_fapl_direct(hid_t fapl_id, size_t alignment, size_t block_size,
+ size_t cbuf_size);
+H5_DLL herr_t H5Pget_fapl_direct(hid_t fapl_id, size_t *boundary/*out*/,
+ size_t *block_size/*out*/, size_t *cbuf_size/*out*/);
#ifdef __cplusplus
}