Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combo set of async and other changes #161

Merged
merged 354 commits into from
Jun 2, 2021

Conversation

qkoziol
Copy link
Contributor

@qkoziol qkoziol commented Dec 11, 2020

Draft PR for all code to merge to develop, includes async, dynamic optional VOL operation registration, and H5S_BLOCK code.

qkoziol and others added 30 commits November 9, 2020 17:11
…callbacks, instead of directly accessing the list structure
…rieving a copy of the error stack for a failed asynchronous operation
…ers to H5ESwait, to make it more "aggregate".
(b) Remove verification of name parameter in async related routines for H55A and H5L modules
    because it is checked in H5VL_setup* routine.
(c) Modify h5dump expected output due to the async changes.
(a) Add async APIs for H5O module as listed in jira issue ID-283.
qkoziol and others added 15 commits May 10, 2021 10:51
…d-union pattern for VOL callback arguments, instead of using varargs. Convert several 'get' routines to return the length of an array in a parameter instead of combining it into the return value. Move several routines to be in less public namespace. Correct direct_chunk test to verify that parameters aren't modified on error.
…async-friendly'. Also other minor cleanups and bug-fixes.
…ow skipping H5Dget_space + H5Sselect_hyperslab for async operation
@qkoziol qkoziol requested a review from soumagne May 24, 2021 20:19
@qkoziol
Copy link
Contributor Author

qkoziol commented May 24, 2021

Except the time estimate routines and corresponding VOL flags that should be removed at this point of time, the rest looks good to me.

These have been removed.

Copy link
Member

@soumagne soumagne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, just a few minor comments.

#define H5S_ALL 0 /* (hid_t) */
#define H5S_BLOCK 1 /* (hid_t) */
#define H5S_PLIST 2 /* (hid_t) */

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like you should add what they mean instead of hid_t ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just extending the list (which is like that in develop).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are they documented somewhere? I have no idea what they are

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would not hurt to add a one-line description of their effect / when to use them, it does not seem to be in H5Dpublic.h either.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, definitely a good thing to do: #688

@lrknox lrknox merged commit 4b7f34a into HDFGroup:develop Jun 2, 2021
@qkoziol qkoziol deleted the async_vol_register_optional branch June 7, 2021 16:00
mkitti added a commit to mkitti/hdf5 that referenced this pull request Aug 5, 2022
mkitti added a commit to mkitti/hdf5 that referenced this pull request Aug 8, 2022
derobins added a commit that referenced this pull request Aug 16, 2022
* Revert "Revert H5Dchunk_iter changes in hdf5_1_12_1 (#733)"

This reverts commit 10abe9a.

* Apply clang-format

* Reincorporate spelling fix from #1166

* Incorporate H5Dchunk_iter changes from #161

* Backport to 1.12: Adds a quick for for some egregious chunk_info badness (#722)

* Backport to 1.12: Converts testhdf5 macros to h5test macros in chunk_info.c (#1820)

The two macro schemes were not designed to work together. Also
quiets some MSVC warnings about comparing pointers and integers.

* Backport to 1.12: H5Dchunk_iter now passes offsets in units of dataset elements, fix #1419 (#1969)

* H5Dchunk_iter now passes chunk dimension scaled offsets, fix #1419

* Update docs for H5Dchunk_iter, H5Dget_chunk_info*

Modified description for `H5Dchunk_iter`, `H5Dget_chunk_info`, and `H5Dget_chunk_info_by_coord` to the following

 * offset          Logical position of the chunk’s first element in units of dataset elements
 * filter_mask  Bitmask indicating the filters used when the chunk was written
 * size             Chunk size in bytes, 0 if the chunk does not exist

* Sync H5Dchunk_iter documentation with develop

* Remove H5VL_DATASET_WAIT references from 1.12

* Backport to 1.12 #161, #1474, review comments

Co-authored-by: Dana Robinson <43805+derobins@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.