diff options
author | John Mainzer <mainzer@hdfgroup.org> | 2008-03-07 15:25:05 (GMT) |
---|---|---|
committer | John Mainzer <mainzer@hdfgroup.org> | 2008-03-07 15:25:05 (GMT) |
commit | d1a21a4553d3f7603eb4086770696931d79b4647 (patch) | |
tree | b4496b59a475615c7c9409eb8d8b52130d23ad2b /src/H5C2.c | |
parent | 406252cb102ab575e8fac6297f7ae63b4f34baeb (diff) | |
download | hdf5-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.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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... */ |