diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-07-09 05:02:04 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-07-09 05:02:04 (GMT) |
commit | 6aa7ea9331f4181f29d6a19bf9d53fc330c3ff88 (patch) | |
tree | 0bae68cdaa925943dbbfdb9b249b0ba1595c8b91 /src/H5F.c | |
parent | 9b8558b691fa7675570f0b6f1953da5a9907907e (diff) | |
download | hdf5-6aa7ea9331f4181f29d6a19bf9d53fc330c3ff88.zip hdf5-6aa7ea9331f4181f29d6a19bf9d53fc330c3ff88.tar.gz hdf5-6aa7ea9331f4181f29d6a19bf9d53fc330c3ff88.tar.bz2 |
[svn-r11057] Purpose:
Bug fix
Description:
Correct error where the dataset sieve buffer was inadvertantly disabled,
resulting in poor raw data I/O performance for certain I/O patterns.
Solution:
Hook dataset sieve buffer size setting back up.
Platforms tested:
FreeBSD 4.11 (sleipnir)
Solaris 2.9 (shanti)
Diffstat (limited to 'src/H5F.c')
-rw-r--r-- | src/H5F.c | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -3480,6 +3480,39 @@ H5F_grp_btree_shared(const H5F_t *f) /*------------------------------------------------------------------------- + * Function: H5F_sieve_buf_size + * + * Purpose: Replaced a macro to retrieve the dataset sieve buffer size + * now that the generic properties are being used to store + * the values. + * + * Return: Success: Non-void, and the dataset sieve buffer size + * is returned. + * + * Failure: void (should not happen) + * + * Programmer: Quincey Koziol + * koziol@ncsa.uiuc.edu + * Jul 8 2005 + * + * Modifications: + * + *------------------------------------------------------------------------- + */ +size_t +H5F_sieve_buf_size(const H5F_t *f) +{ + /* Use FUNC_ENTER_NOAPI_NOINIT_NOFUNC here to avoid performance issues */ + FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5F_sieve_buf_size) + + assert(f); + assert(f->shared); + + FUNC_LEAVE_NOAPI(f->shared->sieve_buf_size) +} /* end H5F_sieve_buf_size() */ + + +/*------------------------------------------------------------------------- * Function: H5F_get_fcpl * * Purpose: Retrieve the value of a file's FCPL. |