| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
of the file, remove unused variables.
|
| |
|
| |
|
|
|
|
| |
conversion.
|
|
|
|
| |
expect. Free `odata`.
|
|
|
|
|
|
|
|
|
|
|
|
| |
comment to myself that I need to reduce code duplication with the MPMDE
test.
In vfd_read_each_equals(), print the correct expected value when there
is a discrepancy.
No functional change intended: correct a comment in
vfd_read_each_equals. Fix indentation in the test_raw_data_handling()
header comment.
|
|
|
|
|
|
| |
buffer's treatment of multipage metadata entries (MPMDEs). Mention why
an H5PB_flush() is not necessary for MPMDEs to reach visibility at the
VFD layer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
macro magic. Use namebases and namebase, instead.
Extract a bunch of copy-and-paste VFD SWMR setup into a new subroutine,
swmr_fapl_augment().
Make sure that the metadata reads all-0s until it reads all -1s.
Extract a subroutine, vfd_read_each_equals(), that reads and compares a
region with one of its arguments.
Rename from test_basic_metadata_handling() to
test_metadata_delay_basic(), since that gets at what we're testing
better.
Don't perform an H5PB_flush(), it's not necessary for this test because
H5Fvfd_swmr_end_tick() has done essentially the same thing.
|
| |
|
|
|
|
|
|
|
| |
that writes are not delayed.
In H5PB__flush_entry, simplify by eliminating a temporary variable and a
constant.
|
|
|
|
|
| |
it is eligible to flush *now*, so do that. Don't wait until tick `t +
1`.
|
|
|
|
| |
that seems to be the intention. No functional change intended.
|
|
|
|
|
| |
parenthesization in an `if` condition. Join some lines. No functional
change intended.
|
|
|
|
|
| |
this would fix a bug, but I don't think it had any effect. Still, a
necessary change.
|
|
|
|
| |
here, delete dead code.
|
|
|
|
| |
nanosecs_per_second. Ditto for the tenth-second constant.
|
|
|
|
|
|
|
|
|
|
|
| |
anticipate comparing the written buffer with the read buffer.
Don't initialize variables prematurely so that the compiler has a chance
to warn about variables read before they are written.
Repeatedly flush the page buffer, once each time we end the tick.
Write errors to stdout instead of stderr.
|
| |
|
|
|
|
|
|
| |
gettimeofday() alternate. Perform nanoseconds arithmetic using uint64_t
instead of long to avoid unwanted overflows on 32-bit systems like
my i386 (!) development box.
|
|
|
|
| |
turn on and off. Use it here and there.
|
|
|
|
| |
intended.
|
|
|
|
|
|
| |
test fails....
Make some comments more true to reality and fix a couple of typos.
|
| |
|
| |
|
|
|
|
| |
arguments.
|
|
|
|
|
|
|
| |
Combine the VFD SWMR and non-VFD SWMR raw-data test into one
routine that takes a bool parameter to switch on VFD SMWR.
Update my description of the to-be-written metadata test for VFD SWMR.
|
|
|
|
| |
busy.
|
|
|
|
| |
multi/split compatibility.
|
|
|
|
|
|
|
|
|
| |
an assertion from firing:
"entry_ptr->delay_write_until == 0" failed: file "../../../vchoi_fork/src/H5PB.c", line 4093, function "H5PB__write_raw"
In a comment, mention a change that has to be made to accommodate parallel
mode.
|
|
|
|
|
|
| |
Use a (more) accurate name for the VFD SWMR test routine.
Mention that VFD SWMR isn't expected to work with multi/split VFDs,
yet.
|
| |
|
|
|
|
| |
is initialized to default values.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
invocations to one warning in the H5Tcopy() implementation.
|
|
|
|
| |
integer to an unsigned one.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
output, then it tested $? for an error exit. $? told the error status of
`tee`, though, not the test programs! So no test failures were counted, even
when some tests clearly failed. I changed the test script to use a shell
subroutine, `catch_out_err_and_rc`, to catch test programs' output and result
code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
H5FDvfd_swmr_private.h.
Perform tick processing in FUNC_ENTER_API_NOCLEAR, where it was missing.
Track the number of times the HDF5 library has been entered/exited through its
public API. Only perform tick processing on the first entry and last exit.
This stops us from performing tick processing in API calls invoked by
application callbacks. Performing tick processing in nested API calls led to
crashes.
Note well: FUNC_LEAVE_API now performs tick processing even on an error exit!
Previously, it did not. I'm not sure if the change is ok.
|
|
|
|
| |
developer fix the error.
|
| |
|
|\
| |
| |
| |
| |
| | |
https://bitbucket.hdfgroup.org/scm/~vchoi/my_hdf5_fork into feature/vfd_swmr
updated to permit a push. Should be no changes in VFD SWMR proper.
|
| |
| |
| |
| |
| |
| |
| |
| | |
(1) Increase the # of records to write (Nrecords) in testvfdswmr.sh.in so as to ensure the writer
will not exit before the reader
(2) Use H5E_BEGIN_TRY/END_TRY when H5Fopen() the test file in reader tests
(3) Add "READER" or "WRITER" to debugging messages
(4) Misc cleanup
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
open in the VFD SWMR reader case.
Note that the following failures in testvfdswmr.sh:
1) Unable to find metadata file on VFD SWMR reader open.
2) Occasional sanity check failures in the page buffer on raw data write.
3) Filter failures on raw data read in VFD SWMR readers when compression
is enabled.
4) Unexpected data errors in VFD SWMR readers when compression is
disabled.
Note that I expect that items 3 & 4 two aspects of the same issues -- the
fact that we don't guarantee that raw data is consistent with metadata.
Item 2) must be addressed, but it is so infrequent that it isn't doesn't
affect the conclusion VFD SWMR seems to work, and thus it can wait until
phase 2.
I am given to understand that Vailin has largely addressed item 1),
and will be checking in her solution to this soon.
Tested on Charis and Jelly.
|