diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2010-03-24 16:41:14 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2010-03-24 16:41:14 (GMT) |
commit | d3d4d8782bbed2af7d1593759e3665c459c0ab1c (patch) | |
tree | f3f3f449f62cc3ea2462112bbd38a5b1057c1d67 /src/H5Dlayout.c | |
parent | 2ee007117626d307a248b6b02f5ddb71766cb35f (diff) | |
download | hdf5-d3d4d8782bbed2af7d1593759e3665c459c0ab1c.zip hdf5-d3d4d8782bbed2af7d1593759e3665c459c0ab1c.tar.gz hdf5-d3d4d8782bbed2af7d1593759e3665c459c0ab1c.tar.bz2 |
[svn-r18445] Purpose: Fix bug 1637
Description:
Modified algorithm for extending a dataset with early allocation so it only
deals with the new chunks. Formerly, it would loop over all chunks, checking
to see if each existed in cache and on disk, causing major performance issues
with large numbers of chunks.
Tested: jam, linew, amani (h5committest)
Diffstat (limited to 'src/H5Dlayout.c')
-rw-r--r-- | src/H5Dlayout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dlayout.c b/src/H5Dlayout.c index d2ad2ac..b6382df 100644 --- a/src/H5Dlayout.c +++ b/src/H5Dlayout.c @@ -230,7 +230,7 @@ H5D_layout_oh_create(H5F_t *file, hid_t dxpl_id, H5O_t *oh, H5D_t *dset, * allocation until later. */ if(fill_prop->alloc_time == H5D_ALLOC_TIME_EARLY) - if(H5D_alloc_storage(dset, dxpl_id, H5D_ALLOC_CREATE, FALSE) < 0) + if(H5D_alloc_storage(dset, dxpl_id, H5D_ALLOC_CREATE, FALSE, NULL) < 0) HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to initialize storage") /* Update external storage message, if it's used */ |