summaryrefslogtreecommitdiffstats
path: root/src/H5Dchunk.c
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2019-09-01 06:13:08 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2019-09-01 06:13:08 (GMT)
commitb679d11bccb5ff5b8460871079c4e36126d96fa4 (patch)
treef75e488610e7747ae24ebd9b73ac28483f197f96 /src/H5Dchunk.c
parenta633e333346eef38bf689b6a8edb817c732298c0 (diff)
downloadhdf5-b679d11bccb5ff5b8460871079c4e36126d96fa4.zip
hdf5-b679d11bccb5ff5b8460871079c4e36126d96fa4.tar.gz
hdf5-b679d11bccb5ff5b8460871079c4e36126d96fa4.tar.bz2
Updated based on reviews and refactored test code
Diffstat (limited to 'src/H5Dchunk.c')
-rw-r--r--src/H5Dchunk.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c
index 86639e6..e3bbd59 100644
--- a/src/H5Dchunk.c
+++ b/src/H5Dchunk.c
@@ -7124,8 +7124,8 @@ H5D__get_chunk_info_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata)
* Purpose: Iterate over the chunks in the dataset to get the info
* of the desired chunk.
*
- * Note: Currently, this function only gets the number of all written
- * chunks, regardless the dataspace.
+ * Note: Currently, the domain of the index in this function is of all
+ * the written chunks, regardless the dataspace.
*
* Return: Success: SUCCEED
* Failure: FAIL
@@ -7293,7 +7293,6 @@ H5D__get_chunk_info_by_coord(const H5D_t *dset, const hsize_t *offset, unsigned*
HDassert(rdcc);
HDassert(H5D_CHUNKED == layout->type);
-/* Is this expensive? */
/* Search for cached chunks that haven't been written out */
for(ent = rdcc->head; ent; ent = ent->next)
/* Flush the chunk out to disk, to make certain the size is correct later */