summaryrefslogtreecommitdiffstats
path: root/src/H5P.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-06-05 15:19:07 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-06-05 15:19:07 (GMT)
commit1eb15039114f4bcda7269cc406111138ceba1f0f (patch)
treefe953b93bf77b54218ceacbac8083886a3d7f5b8 /src/H5P.c
parent1500b00b079e8f50b4836e3156d76ce5a7f178eb (diff)
downloadhdf5-1eb15039114f4bcda7269cc406111138ceba1f0f.zip
hdf5-1eb15039114f4bcda7269cc406111138ceba1f0f.tar.gz
hdf5-1eb15039114f4bcda7269cc406111138ceba1f0f.tar.bz2
[svn-r5535] Purpose:
New feature. Description: Added a "small data" block allocation mechanism to the library, similar to the mechanism used for allocating metadata currently. See the RFC for more details: http://hdf.ncsa.uiuc.edu/RFC/SmallData/SmallData.html This reduces the number of I/O operations which hit the disk for my test program from 19 to 15 (i.e. from 393 to 15, overall). Platforms tested: Solaris 2.7 (arabica) w/FORTRAN and FreeBSD 4.5 (sleipnir) w/C++
Diffstat (limited to 'src/H5P.c')
-rw-r--r--src/H5P.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5P.c b/src/H5P.c
index f71537a..76ef5d0 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -3778,6 +3778,8 @@ H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func/*out*/,
* Friday, August 25, 2000
*
* Modifications:
+ * Quincey Koziol, June 5, 2002
+ * Also sets the "small data" aggregation size
*
*-------------------------------------------------------------------------
*/
@@ -3797,7 +3799,7 @@ H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
}
/* Set values */
- fapl->meta_block_size = size;
+ fapl->sdata_block_size = fapl->meta_block_size = size;
FUNC_LEAVE (SUCCEED);
}