summaryrefslogtreecommitdiffstats
path: root/src/H5FDdirect.h
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2006-10-16 22:31:27 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2006-10-16 22:31:27 (GMT)
commit775bd09974b4681672bce3c1a10948bad5d482da (patch)
tree14aaf01cf1198c940af53fe05ad7fcb3ef547189 /src/H5FDdirect.h
parentcaf3fa51d8b4082bfa7208a68b835fa5059a78ee (diff)
downloadhdf5-775bd09974b4681672bce3c1a10948bad5d482da.zip
hdf5-775bd09974b4681672bce3c1a10948bad5d482da.tar.gz
hdf5-775bd09974b4681672bce3c1a10948bad5d482da.tar.bz2
[svn-r12766] Made two changes to Direct I/O VFD: first added 3 parameters to H5Pset_fapl_direct to control
memory boundary, file block size, and maximal copy buffer size; second in H5FD_direct_write and H5FD_direct_read, the library checks whether data buffer is aligned. If it is, then write and read the data directly instead of making a copy buffer.
Diffstat (limited to 'src/H5FDdirect.h')
-rw-r--r--src/H5FDdirect.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5FDdirect.h b/src/H5FDdirect.h
index 25ff3de..4e4d821 100644
--- a/src/H5FDdirect.h
+++ b/src/H5FDdirect.h
@@ -36,7 +36,8 @@ extern "C" {
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);
+H5_DLL herr_t H5Pset_fapl_direct(hid_t fapl_id, hsize_t alignment, hsize_t block_size,
+ hsize_t cbuf_size);
#ifdef __cplusplus
}