summaryrefslogtreecommitdiffstats
path: root/src/H5Fistore.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-08-13 20:17:47 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-08-13 20:17:47 (GMT)
commit678eb19d7118bb852b428e6469da6df6886b0b86 (patch)
treecf4a3e318b44430d7329cb13e8ac003249b7356f /src/H5Fistore.c
parent349b9094a0755986cb9df6e6f662791c98afaa15 (diff)
downloadhdf5-678eb19d7118bb852b428e6469da6df6886b0b86.zip
hdf5-678eb19d7118bb852b428e6469da6df6886b0b86.tar.gz
hdf5-678eb19d7118bb852b428e6469da6df6886b0b86.tar.bz2
[svn-r588] Changes since 19980810
---------------------- ./MANIFEST ./src/H5Ssimp.c [REMOVED] ./src/Makefile.in Removed H5Ssimp.c since it was no longer used. ./bin/snapshot Fixed a few minor things to make it work better. ./src/H5D.c Cleaned up H5D_read() and H5D_write() by combining some code in each. Added timing calls around the data space calls when H5S_DEBUG is defined. ./src/H5S.c ./src/H5Sall.c ./src/H5Shyper.c ./src/H5Spoint.c ./src/H5Sprivate.h Changed H5S_find() so it returns a table entry again instead of copying the data into a caller-supplied buffer. This allows the timers to be stored in the table and updated by the caller. Added H5S_register() to register new table entries and added entry creation to all the H5S selection methods. Also changed lots of global functions to static functions. ./src/H5Fistore.c Fixed a memory bug in the raw data cache.
Diffstat (limited to 'src/H5Fistore.c')
-rw-r--r--src/H5Fistore.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Fistore.c b/src/H5Fistore.c
index e77aabc..3c858bd 100644
--- a/src/H5Fistore.c
+++ b/src/H5Fistore.c
@@ -754,6 +754,7 @@ H5F_istore_flush_entry (H5F_t *f, H5F_rdcc_ent_t *ent, hbool_t reset)
* even if we can't write the data to disk.
*/
point_of_no_return = TRUE;
+ ent->chunk = NULL;
}
if (H5Z_pipeline(f, ent->pline, 0, &(udata.key.filter_mask),
&(udata.key.nbytes), &alloc, &buf)<0) {
@@ -1274,6 +1275,7 @@ H5F_istore_unlock (H5F_t *f, const H5O_layout_t *layout,
x.offset[i] = offset[i];
x.chunk_size *= layout->dim[i];
}
+ x.alloc_size = x.chunk_size;
x.chunk = chunk;
H5F_istore_flush_entry (f, &x, TRUE);
} else {