diff options
author | Vailin Choi <vchoi@hdfgroup.org> | 2012-08-13 20:04:20 (GMT) |
---|---|---|
committer | Vailin Choi <vchoi@hdfgroup.org> | 2012-08-13 20:04:20 (GMT) |
commit | a9602d1b34e462e7dc4af611cf08486694750863 (patch) | |
tree | 2746ef757084da7a7de5a4474dfcb3d9ff2c8a22 /src/H5MFsection.c | |
parent | eb4fd07b5ac8d70b9578fed95890e2af309fa20f (diff) | |
download | hdf5-a9602d1b34e462e7dc4af611cf08486694750863.zip hdf5-a9602d1b34e462e7dc4af611cf08486694750863.tar.gz hdf5-a9602d1b34e462e7dc4af611cf08486694750863.tar.bz2 |
[svn-r22676] Changes needed to make the default free-list mapping from H5FD_FLMAP_SINGLE to H5FD_FLMAP_DICHOTOMY.
Diffstat (limited to 'src/H5MFsection.c')
-rw-r--r-- | src/H5MFsection.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5MFsection.c b/src/H5MFsection.c index 89b2219..0572def 100644 --- a/src/H5MFsection.c +++ b/src/H5MFsection.c @@ -328,6 +328,10 @@ HDfprintf(stderr, "%s: section {%a, %Hu}, shrinks file, eoa = %a\n", FUNC, sect- HGOTO_DONE(TRUE) } /* end if */ else { + /* Shrinking can't occur if the 'eoa_shrink_only' flag is set and we're not shrinking the EOA */ + if(udata->allow_eoa_shrink_only) + HGOTO_DONE(FALSE) + /* Check if this section is allowed to merge with metadata aggregation block */ if(udata->f->shared->fs_aggr_merge[udata->alloc_type] & H5F_FS_MERGE_METADATA) { htri_t status; /* Status from aggregator adjoin */ |