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/H5Fpkg.h | |
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/H5Fpkg.h')
-rw-r--r-- | src/H5Fpkg.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h index 5c54fdd..f6fc8c4 100644 --- a/src/H5Fpkg.h +++ b/src/H5Fpkg.h @@ -83,7 +83,8 @@ typedef struct H5F_file_t { size_t sizeof_size; /* Size of offsets in file */ haddr_t super_addr; /* Absolute address of super block */ haddr_t base_addr; /* Absolute base address for rel.addrs. */ - haddr_t extension_addr; /* Relative address of superblock extension */ + hbool_t extension_ok; /* TRUE iff version permits SB extensions */ + haddr_t extension_addr; /* Relative address of superblock extension */ haddr_t sohm_addr; /* Relative address of shared object header message table */ unsigned sohm_vers; /* Version of shared message table on disk */ unsigned sohm_nindexes; /* Number of shared messages indexes in the table */ @@ -113,11 +114,9 @@ typedef struct H5F_file_t { struct H5G_t *root_grp; /* Open root group */ H5FO_t *open_objs; /* Open objects in file */ H5RC_t *grp_btree_shared; /* Ref-counted group B-tree node info */ - hbool_t journaling_enabled; /* metadata journaling configuration */ - hbool_t journal_is_external; /* fields. All fields as per those */ - haddr_t internal_journal_loc;/* of the same name in M5O_mdj_conf_t. */ - size_t path_len; - uint8_t * external_journal_file_path_ptr; + hbool_t mdc_jrnl_enabled; /* TRUE iff journaling is in progress */ + haddr_t mdc_jrnl_block_loc; /* Rel addr of mdc journal block */ + hsize_t mdc_jrnl_block_len; /* Length of mdc journal block */ } H5F_file_t; /* A record of the mount table */ @@ -183,6 +182,7 @@ H5_DLL herr_t H5F_mount_count_ids(H5F_t *f, unsigned *nopen_files, unsigned *nop /* Superblock related routines */ H5_DLL herr_t H5F_super_init(H5F_t *f, hid_t dxpl_id); H5_DLL herr_t H5F_super_write(H5F_t *f, hid_t dxpl_id); +H5_DLL herr_t H5F_super_write_mdj_msg(H5F_t *f, hid_t dxpl_id); H5_DLL herr_t H5F_super_read(H5F_t *f, hid_t dxpl_id, H5G_loc_t *root_loc); H5_DLL herr_t H5F_super_ext_size(H5F_t *f, hid_t dxpl_id, hsize_t *super_ext_info); |