diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2012-12-12 21:31:27 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2012-12-12 21:31:27 (GMT) |
commit | adc36c3b4b53520a6f4ba263943f847e3fafeb71 (patch) | |
tree | ee8ed7f3af787db40569df33c0387fd66362383d /src/H5FScache.c | |
parent | c481032c1b3e5bd7b462e306b4d193932835334b (diff) | |
download | hdf5-adc36c3b4b53520a6f4ba263943f847e3fafeb71.zip hdf5-adc36c3b4b53520a6f4ba263943f847e3fafeb71.tar.gz hdf5-adc36c3b4b53520a6f4ba263943f847e3fafeb71.tar.bz2 |
[svn-r23095] Purpose: Refactor flush dependency code, add support for multiple parents
Description:
Reworked how flush dependencies worked internally, allowing multiple flush
dependency parents, and removing the notion of flush dependency heights, instead
keeping track of the number of dirty descendents to determine if parents can be
flushed. Also removed the requirement that cache clients destroy flush
dependencies before eviction (this is now handled by the cache) and removed the
maximum number of passes (the cache should detect infinite loops elsewhere).
Added test cases for this.
Tested: durandal
Diffstat (limited to 'src/H5FScache.c')
-rw-r--r-- | src/H5FScache.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/H5FScache.c b/src/H5FScache.c index 4b19b26..c8caf47 100644 --- a/src/H5FScache.c +++ b/src/H5FScache.c @@ -1038,9 +1038,7 @@ H5FS_cache_sinfo_notify(H5AC_notify_action_t action, H5FS_sinfo_t *sinfo) break; case H5AC_NOTIFY_ACTION_BEFORE_EVICT: - /* Destroy flush dependency on extensible array header */ - if(H5FS__destroy_flush_depend((H5AC_info_t *)sinfo->fspace, (H5AC_info_t *)sinfo) < 0) - HGOTO_ERROR(H5E_FSPACE, H5E_CANTUNDEPEND, FAIL, "unable to destroy flush dependency between data block and header, address = %llu", (unsigned long long)sinfo->fspace->sect_addr) + //* Nothing to do */ break; default: |