Network

 
AuthorCommitMessageCommit Date
David YoungDavid Young
0b189968ff7MMerge branch 'feature/vfd_swmr' into may-merge-mainzer-to-mine
David YoungDavid Young
5632094d5c7Initialize `refresh` member.
David YoungDavid Young
0cb028b717aMMerge branch 'feature/vfd_swmr' into may-merge-mainzer-to-mine
David YoungDavid Young
d93bc843aa2Promote more warnings to errors.
David YoungDavid Young
0fd4a7f5e1bMMerge branch 'feature/vfd_swmr' into may-merge-mainzer-to-mine
David YoungDavid Young
04e775b1279Straggler from last: update declaration of vfd_swmr_create_fapl().
David YoungDavid Young
78bd491aadaAdd to the "bigset" writer a `-M` command-line option that enables the use of multiple files with virtual datasets. Add to vfd_swmr_create_fapl() printf(3)-like arguments for setting the shadow filename. Update all callers.
David YoungDavid Young
a9fefff6203Add evsnprintf for printing a `va_list` to a buffer or aborting the program on an overflow or other error.
David YoungDavid Young
6e3ad3213deDelete superfluous comments that interpret obvious program syntax/semantics.
David YoungDavid Young
0ae43ff6cddMention an improvement asked for by ITER.
David YoungDavid Young
43cec81db68Only count metadata reads/writes on the page buffer. Neaten the count logs.
David YoungDavid Young
c66f7d5b65cMMerge branch 'feature/vfd_swmr' into may-merge-mainzer-to-mine
David YoungDavid Young
c9d8f3e4f14Log the number of page-buffer accesses at various multiples of the page size with log outlet `pb_access_sizes`.
David YoungDavid Young
be0b2f132d5Perform the few_big and many_small tests with and without VDS enabled.
David YoungDavid Young
91a7258dbfeDon't perform EOT processing on the same H5F_shared_t more than once if it has multiple referring H5F_t on the EOT queue. This stops the VFD SWMR writer from advancing the shadow file's tick number too fast when we're using virtual datasets (VDS) with VFD SWMR.
David YoungDavid Young
767afc60beaUpdate comment.
David YoungDavid Young
0e9f3038d22MMerge branch 'feature/vfd_swmr' into may-merge-mainzer-to-mine
David YoungDavid Young
a0be3626c80Delete whitespace at EOL. NFCI.
David YoungDavid Young
814b428b2a6When H5FD_vfd_swmr_read() reads a page from the shadow file whose checksum fails, re-load the shadow-file header and log the last-read and current tick number.
David YoungDavid Young
2056e23fc95Avoid some casts, change some parameters from H5FD_t to H5FD_vfd_swmr_t when that's what both the callers and callees expect. NFCI.
David YoungDavid Young
c3120ac3da5Delete some dead code.
David YoungDavid Young
5c9d2724be1Add some new diagnostic logging.
David YoungDavid Young
3d89d6ca4ecSuppress the error-stack printouts while attempting to open and read an attribute: failures are expected.
David YoungDavid Young
30a62d13803Don't check an unsigned integer for being negative. Quiets a GCC warning.
David YoungDavid Young
7840f5f3b53MMerge branch 'feature/vfd_swmr' into may-merge-mainzer-to-mine
David YoungDavid Young
63c7ec24966Bug fix: avoid leaking memory and other resources, perform the reader-only close activities under the correct condition! Extract the reader-only open and close code into helper routines.
David YoungDavid Young
f7fab27b25cIf the function-enter macro fails, return FAIL. Now the compiler can see that if H5FD__vfd_swmr_header_deserialize() succeeds, then the header that was passed in was actually initialized. This squashes a used-before-initialized warning from GCC.
David YoungDavid Young
12e5f29e487Take care to initialize the metadata file descriptor to -1 so that we don't try to close descriptor 0, later.
David YoungDavid Young
323380e6b95If a group's attribute isn't present, that's ok. Retry.
David YoungDavid Young
8593cd2d938Close attribute after use.
David YoungDavid Young
fefc6cf8858Delete dead code. NFCI.
David YoungDavid Young
326b98fd08fDelete whitespace at EOL. Join consecutive line. NFCI.
David YoungDavid Young
62240b1a553Delete whitespace at EOL.
David YoungDavid Young
0e1b6bfcef7Fix a copy-pasto in an error message.
David YoungDavid Young
a2308ffd2c1Move the dapl initialization to state_init and, if VDS is enabled, set the virtual view to "first missing."
David YoungDavid Young
28827366439Delete unused local variables. Delete an empty line. NFCI.
David YoungDavid Young
0c98fe96e52Don't leak a fapl on error.
David YoungDavid Young
09b17b6563fRemove gratuitous local variable initialization: it's better to let the compiler detect use-before-initialization. Use the safer `memset(p, ..., sizeof(*p))` idiom.
David YoungDavid Young
98f441a6067Add a new log outlet and some log statements for EOT queue manipulation.
David YoungDavid Young
8aeba09f550Straggler from previous: bsdqueue.h -> H5queue.h
David YoungDavid Young
847d22244a6Change some H5F_t uses to H5F_shared_t uses: gradually we will rid VFD SWMR of H5F_t.
David YoungDavid Young
9907d5fdcd6Be brief: remove gratuitous cast of _xfree(). Use reference to member `pub` instead of cast to H5FD_t *.
David YoungDavid Young
3553c7617dcMake a VFD SWMR writer use the SWMR VFD, to facilitate avoiding conflicting multiple opens of the same file with VFD SWMR---i.e., twice for writing, or for reading and for writing. In the long run, this will help me encapsulate more of the SWMR functionality in the VFD, too.
David YoungDavid Young
03cdbe93763Straggler from previous commit: when closing the VFD SWMR virtual file, clear the lower virtual file's `exc_owner` field. While I'm here, remove a gratuitous assertion. This is part of a changeset that helps us avoid creating multiple H5F_shared_t for one file when virtual datasets are used with VFD SWMR. The old code for deduplicating VFD SWMR H5F_shared_t instances did not work correctly with VFD SWMR, so we'd end up with multiple H5F_shared_t all active on the same file.
David YoungDavid Young
b030664aaa6Delete gratuitous comment and initialization from a variable declaration.
David YoungDavid Young
2e66b5cf86cAdd all extant virtual files to a list. Add an "exclusive owner" (`exc_owner`) member to all virtual files. Add a routine, H5FD_has_conflict(), that returns true if a new virtual file is identical to an existing virtual file that has an exclusive owner. Establish an exclusive owner for a VFD SWMR virtual file's lower virtual file. Rename bsdqueue.h to H5queue.h and install it, since it's used by H5FDpublic.h. This is part of a changeset that helps us avoid creating multiple H5F_shared_t ...
David YoungDavid Young
5493f4faacdFix a bug where I was trying to store `ndatasets * 4` source-dataset handles in 4 variables and, of course, failing. Refactor the dataspace/dataset initialization.
David YoungDavid Young
b9c2b8fafffFix a bug in H5D__virtual_write_one to stop an assertion from failing deep in H5Dwrite---project the *clipped* virtual selection instead of the virtual selection: assertion "((src_space)->select.num_elem) == ((dst_space)->select.num_elem)" failed: file "../../../vchoi_fork/src/H5Sselect.c", line 2617, function "H5S_select_project_intersection" with this backtrace: at /home/dyoung/plain-nbsd/src/lib/libc/gen/raise.c:48 at /home/dyoung/plain-nbsd/src/lib/libc/stdlib/abort.c:74 fi...
David YoungDavid Young
5e0c8142968Fix a bug where I was trying to store `ndatasets * 4` source-dataset handles in 4 variables and, of course, failing. Refactor the dataspace/dataset initialization.
David YoungDavid Young
6ff70c9e034Fix a bug in H5D__virtual_write_one to stop an assertion from failing deep in H5Dwrite---project the *clipped* virtual selection instead of the virtual selection: assertion "((src_space)->select.num_elem) == ((dst_space)->select.num_elem)" failed: file "../../../vchoi_fork/src/H5Sselect.c", line 2617, function "H5S_select_project_intersection" with this backtrace: at /home/dyoung/plain-nbsd/src/lib/libc/gen/raise.c:48 at /home/dyoung/plain-nbsd/src/lib/libc/stdlib/abort.c:74 fi...