summaryrefslogtreecommitdiffstats
path: root/src/H5C2.c
diff options
context:
space:
mode:
authorJohn Mainzer <mainzer@hdfgroup.org>2008-03-07 15:25:05 (GMT)
committerJohn Mainzer <mainzer@hdfgroup.org>2008-03-07 15:25:05 (GMT)
commitd1a21a4553d3f7603eb4086770696931d79b4647 (patch)
treeb4496b59a475615c7c9409eb8d8b52130d23ad2b /src/H5C2.c
parent406252cb102ab575e8fac6297f7ae63b4f34baeb (diff)
downloadhdf5-d1a21a4553d3f7603eb4086770696931d79b4647.zip
hdf5-d1a21a4553d3f7603eb4086770696931d79b4647.tar.gz
hdf5-d1a21a4553d3f7603eb4086770696931d79b4647.tar.bz2
[svn-r14711] Added test code and associated bug fixes for the metadata journaling
superblock extension message. Created the file src/H5Omdj_msg.c and moved journaling superblock extension message to it. Tested serial on Phoenix, and parallel on Kagiso.
Diffstat (limited to 'src/H5C2.c')
-rw-r--r--src/H5C2.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/H5C2.c b/src/H5C2.c
index b485faf..51ca741 100644
--- a/src/H5C2.c
+++ b/src/H5C2.c
@@ -2858,6 +2858,9 @@ done:
* Added initialization for the new flash cache size increase
* related fields of H5C2_t.
*
+ * JRM -- 3/6/08
+ * Added initialization for metadata journaling related
+ * fields in H5C2_t.
*
*-------------------------------------------------------------------------
*/
@@ -3051,6 +3054,14 @@ H5C2_create(const H5F_t * f,
#endif /* H5C2_COLLECT_CACHE_ENTRY_STATS */
}
+ /* metadata journaling related fields */
+ cache_ptr->mdj_enabled = FALSE;
+ cache_ptr->mdj_file_name_ptr = NULL;
+ cache_ptr->mdj_conf_block_len = 0;
+ cache_ptr->mdj_conf_block_ptr = NULL;
+ (cache_ptr->mdj_jbrb).magic =
+ H5C2__H5C2_JBRB_T_MAGIC;
+
if ( H5C2_reset_cache_hit_rate_stats(cache_ptr) != SUCCEED ) {
/* this should be impossible... */