summaryrefslogtreecommitdiffstats
path: root/src/H5Sprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-02-14 15:30:09 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-02-14 15:30:09 (GMT)
commitb63cdf8c0cd91f327ac80d54c35e2631edb12632 (patch)
tree590a0d837d4dae4839f302d403d361a10db5a722 /src/H5Sprivate.h
parent3cc307e7a5af67f0890ff652743b6bd7f6466535 (diff)
downloadhdf5-b63cdf8c0cd91f327ac80d54c35e2631edb12632.zip
hdf5-b63cdf8c0cd91f327ac80d54c35e2631edb12632.tar.gz
hdf5-b63cdf8c0cd91f327ac80d54c35e2631edb12632.tar.bz2
[svn-r4961] Purpose:
Bug Fix Description: If a non-zero fill-value is used for a chunked dataset, any non-existent chunked read with an "all" selection (or a contiguous hyperslab selection) will return zero for those instead of the user's fill-value. Solution: Fixed I/O code to pass down fill-value to "optimized" I/O routines, so it will be available to fill the user's buffer with. Platforms tested: FreeBSD 4.5 (sleipnir)
Diffstat (limited to 'src/H5Sprivate.h')
-rw-r--r--src/H5Sprivate.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/H5Sprivate.h b/src/H5Sprivate.h
index ffc2f76..d818082 100644
--- a/src/H5Sprivate.h
+++ b/src/H5Sprivate.h
@@ -149,6 +149,7 @@ typedef struct H5S_conv_t {
/* Read from file to application w/o intermediate scratch buffer */
herr_t (*read)(H5F_t *f, const struct H5O_layout_t *layout,
const struct H5O_pline_t *pline,
+ const struct H5O_fill_t *fill,
const struct H5O_efl_t *efl, size_t elmt_size,
const H5S_t *file_space, const H5S_t *mem_space,
hid_t dxpl_id, void *buf/*out*/,
@@ -157,11 +158,12 @@ typedef struct H5S_conv_t {
/* Write directly from app buffer to file */
herr_t (*write)(H5F_t *f, const struct H5O_layout_t *layout,
- const struct H5O_pline_t *pline,
- const struct H5O_efl_t *efl, size_t elmt_size,
- const H5S_t *file_space, const H5S_t *mem_space,
- hid_t dxpl_id, const void *buf,
- hbool_t *must_convert/*out*/);
+ const struct H5O_pline_t *pline,
+ const struct H5O_fill_t *fill,
+ const struct H5O_efl_t *efl, size_t elmt_size,
+ const H5S_t *file_space, const H5S_t *mem_space,
+ hid_t dxpl_id, const void *buf,
+ hbool_t *must_convert/*out*/);
#ifdef H5S_DEBUG
struct {
@@ -240,6 +242,7 @@ __DLL__ herr_t H5S_sel_iter_release(const H5S_t *space,
__DLL__ herr_t H5S_mpio_spaces_read(H5F_t *f,
const struct H5O_layout_t *layout,
const struct H5O_pline_t *pline,
+ const struct H5O_fill_t *fill,
const struct H5O_efl_t *efl,
size_t elmt_size, const H5S_t *file_space,
const H5S_t *mem_space, hid_t dxpl_id,
@@ -250,6 +253,7 @@ __DLL__ herr_t H5S_mpio_spaces_read(H5F_t *f,
__DLL__ herr_t H5S_mpio_spaces_write(H5F_t *f,
const struct H5O_layout_t *layout,
const struct H5O_pline_t *pline,
+ const struct H5O_fill_t *fill,
const struct H5O_efl_t *efl,
size_t elmt_size, const H5S_t *file_space,
const H5S_t *mem_space, hid_t dxpl_id,