summaryrefslogtreecommitdiffstats
path: root/src/H5Dchunk.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-08-20 23:24:36 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-08-20 23:24:36 (GMT)
commit95fc42d6f5471c9bd8e051addfb756fd3c18901b (patch)
tree2fc21a1a915d4348ac5d82272ba1ea7f765e1e65 /src/H5Dchunk.c
parentea5f97cf8f38e5832656c2c44507cce3e548058f (diff)
downloadhdf5-95fc42d6f5471c9bd8e051addfb756fd3c18901b.zip
hdf5-95fc42d6f5471c9bd8e051addfb756fd3c18901b.tar.gz
hdf5-95fc42d6f5471c9bd8e051addfb756fd3c18901b.tar.bz2
[svn-r17400] Description:
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 FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.8 (amazon) in debug mode Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
Diffstat (limited to 'src/H5Dchunk.c')
-rw-r--r--src/H5Dchunk.c2
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 {