diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-08-21 03:22:38 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-08-21 03:22:38 (GMT) |
commit | 9316a67a8901daf5e85fc2947c666b4e10c04814 (patch) | |
tree | adaa5826f072faac5e035d558c8bee4dfae4a05c /src/H5Dchunk.c | |
parent | 6ee76fffc7ef5689ab204a068e2c23b2d98ab595 (diff) | |
download | hdf5-9316a67a8901daf5e85fc2947c666b4e10c04814.zip hdf5-9316a67a8901daf5e85fc2947c666b4e10c04814.tar.gz hdf5-9316a67a8901daf5e85fc2947c666b4e10c04814.tar.bz2 |
[svn-r17401] Description:
Bring r17400 from trunk to 1.8 branch:
Refactor H5F_flush into two routines, one which handles the recursion/
iteration necessary to handle mounted files; and one which just handles the
flush operation for a single file.
Also, remove H5F_FLUSH_INVALIDATE and switch all code to depend on
H5F_FLUSH_CLOSING.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
(h5committested on trunk)
Diffstat (limited to 'src/H5Dchunk.c')
-rw-r--r-- | src/H5Dchunk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c index 0d0c77a..736f356 100644 --- a/src/H5Dchunk.c +++ b/src/H5Dchunk.c @@ -1969,7 +1969,7 @@ H5D_chunk_flush(H5D_t *dset, hid_t dxpl_id, unsigned flags) /* Loop over all entries in the chunk cache */ for(ent = rdcc->head; ent; ent = next) { next = ent->next; - if((flags & H5F_FLUSH_INVALIDATE)) { + if((flags & H5F_FLUSH_CLOSING)) { if(H5D_chunk_cache_evict(dset, dxpl_id, dxpl_cache, ent, TRUE) < 0) nerrors++; } else { |