summaryrefslogtreecommitdiffstats
path: root/src/H5FDpublic.h
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2015-01-21 21:00:22 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2015-01-21 21:00:22 (GMT)
commit4b9ee6b88b3415baa684c9a2d0fb9379f7687768 (patch)
treee0542599f2be5c9f804108fabeb7d1c4d05322e3 /src/H5FDpublic.h
parente8e06cbca06eba0ff1107caf7f4cbeb1f0f835c6 (diff)
downloadhdf5-4b9ee6b88b3415baa684c9a2d0fb9379f7687768.zip
hdf5-4b9ee6b88b3415baa684c9a2d0fb9379f7687768.tar.gz
hdf5-4b9ee6b88b3415baa684c9a2d0fb9379f7687768.tar.bz2
[svn-r25996] - merge changes from trunk to eliminate usage of IS_H5FD_MPI Macro.
- add 2 missing feature flags for VFDs: H5FD_FEAT_HAS_MPI & H5FD_FEAT_ALLOCATE_EARLY and use them as appropriate. tested with h5commitest
Diffstat (limited to 'src/H5FDpublic.h')
-rw-r--r--src/H5FDpublic.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/H5FDpublic.h b/src/H5FDpublic.h
index f1b3920..b4c9903 100644
--- a/src/H5FDpublic.h
+++ b/src/H5FDpublic.h
@@ -177,6 +177,18 @@ typedef enum H5F_mem_t H5FD_mem_t;
* of type 'int' and is compatible with POSIX I/O calls.
*/
#define H5FD_FEAT_POSIX_COMPAT_HANDLE 0x00000080
+ /*
+ * Defining the H5FD_FEAT_HAS_MPI for a VFL driver means that
+ * the driver makes use of MPI communication and code may retrieve
+ * communicator/rank information from it
+ */
+#define H5FD_FEAT_HAS_MPI 0x00000100
+ /*
+ * Defining the H5FD_FEAT_ALLOCATE_EARLY for a VFL driver will force
+ * the library to use the H5D_ALLOC_TIME_EARLY on dataset create
+ * instead of the default H5D_ALLOC_TIME_LATE
+ */
+#define H5FD_FEAT_ALLOCATE_EARLY 0x00000200
/*
* Defining the H5FD_FEAT_ALLOW_FILE_IMAGE for a VFL driver means that
* the driver is able to use a file image in the fapl as the initial
@@ -190,7 +202,6 @@ typedef enum H5F_mem_t H5FD_mem_t;
*/
#define H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS 0x00000800
-
/* Forward declaration */
typedef struct H5FD_t H5FD_t;