diff options
author | Mike McGreevy <mamcgree@hdfgroup.org> | 2008-08-21 21:54:44 (GMT) |
---|---|---|
committer | Mike McGreevy <mamcgree@hdfgroup.org> | 2008-08-21 21:54:44 (GMT) |
commit | 5a50fca18dd2ffd58160c38486cc4f0de8fdc460 (patch) | |
tree | c3641352ff45ae108d17a48e181be8effc68140d /src/H5C2private.h | |
parent | a3349271e9d9bccf269c1d88140167c6db405f68 (diff) | |
download | hdf5-5a50fca18dd2ffd58160c38486cc4f0de8fdc460.zip hdf5-5a50fca18dd2ffd58160c38486cc4f0de8fdc460.tar.gz hdf5-5a50fca18dd2ffd58160c38486cc4f0de8fdc460.tar.bz2 |
[svn-r15514] Purpose:
- EOA logging update
Description:
- EOA values will now be written to the journal
file in their own transaction when the EOA
changes.
- The EOA will be udpated in the HDF5 file's
superblock before the recovery process begins.
This should prevent some loss of raw data as the
file won't be getting truncated upon file open as
it will read the correct EOA value from the
superblock.
- Removed storing of EOA in journal entry messages
since they're in their own transaction.
- Updated tests to reflect change of transaction
formats. Regenerated smoke test files to account
for new entry types, and tweaked transaction number
tests to reflect change in size of journal entries.
- Large testfiles (in test/testfiles) should now
unzip when ./configure is run.
- When journal file is supplied but contains no
complete transactions, instead of reporting
an error, h5recover now informs the user of said
nonexistant transactions, and opens/closes the
hdf5 file with the journal recovered flag set.
- Other various organizational changes to h5recover,
included a bit more added to verbose output.
Tested:
- kagiso, smirom
Diffstat (limited to 'src/H5C2private.h')
-rw-r--r-- | src/H5C2private.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5C2private.h b/src/H5C2private.h index 1e4dbb3..f25fe4f 100644 --- a/src/H5C2private.h +++ b/src/H5C2private.h @@ -1531,7 +1531,6 @@ H5_DLL herr_t H5C2_jb__start_transaction(H5C2_jbrb_t * struct_ptr, H5_DLL herr_t H5C2_jb__journal_entry(H5C2_jbrb_t * struct_ptr, uint64_t trans_num, - haddr_t eoa, haddr_t base_addr, size_t length, const uint8_t * body); @@ -1542,6 +1541,9 @@ H5_DLL herr_t H5C2_jb__end_transaction(H5C2_jbrb_t * struct_ptr, H5_DLL herr_t H5C2_jb__comment(H5C2_jbrb_t * struct_ptr, const char * comment_ptr); +H5_DLL herr_t H5C2_jb__eoa(H5C2_jbrb_t * struct_ptr, + haddr_t eoa); + H5_DLL herr_t H5C2_jb__get_last_transaction_on_disk(H5C2_jbrb_t * struct_ptr, uint64_t * trans_num_ptr); |