summaryrefslogtreecommitdiffstats
path: root/src/H5Dpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-08-13 03:09:38 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-08-13 03:09:38 (GMT)
commitc5aa1f7a5f55d2e482591ed4f7f4d2f3b84563eb (patch)
tree9db28b53a73d2816c1b46b7ec19e5f4dc38ca947 /src/H5Dpkg.h
parent1ba06a8395d3223e7fde349fd5b733e2d8ac79ac (diff)
downloadhdf5-c5aa1f7a5f55d2e482591ed4f7f4d2f3b84563eb.zip
hdf5-c5aa1f7a5f55d2e482591ed4f7f4d2f3b84563eb.tar.gz
hdf5-c5aa1f7a5f55d2e482591ed4f7f4d2f3b84563eb.tar.bz2
[svn-r11236] Purpose:
Code cleanup & bug fix Description: Refactor recent collective chunk changes to simplify them. Also, compute the number of chunks by checking the number of objects in the chunk skip list instead of getting the boundaries of the selection and counting the chunks that it overlaps, which is faster and computes correct number for certain selections. Platforms tested: FreeBSD 4.11 (sleipnir) w/parallel Too minor to require h5committest
Diffstat (limited to 'src/H5Dpkg.h')
-rw-r--r--src/H5Dpkg.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/H5Dpkg.h b/src/H5Dpkg.h
index 3137f53..cf416f3 100644
--- a/src/H5Dpkg.h
+++ b/src/H5Dpkg.h
@@ -98,15 +98,18 @@ typedef struct H5D_io_ops_t {
/* Typedef for raw data I/O operation info */
typedef struct H5D_io_info_t {
H5D_t *dset; /* Pointer to dataset being operated on */
- const H5D_dxpl_cache_t *dxpl_cache; /* Pointer to cache DXPL info */
+#ifndef H5_HAVE_PARALLEL
+ const
+#endif /* H5_HAVE_PARALLEL */
+ H5D_dxpl_cache_t *dxpl_cache; /* Pointer to cache DXPL info */
hid_t dxpl_id; /* Original DXPL ID */
#ifdef H5_HAVE_PARALLEL
- hid_t dp_dxpl_id;
- H5D_dxpl_cache_t *dp_dxpl_cache;
-#endif
+ MPI_Comm comm; /* MPI communicator for file */
+ hbool_t use_par_opt_io; /* Whether the 'optimized' I/O routines with be parallel */
+ hbool_t xfer_mode_changed; /* Whether the transfer mode was changed */
+#endif /* H5_HAVE_PARALLEL */
const H5D_storage_t *store; /* Dataset storage info */
H5D_io_ops_t ops; /* I/O operation function pointers */
- H5D_io_ops_t ops_sca;
#ifdef H5S_DEBUG
H5S_iostats_t *stats; /* I/O statistics */
#endif /* H5S_DEBUG */