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

Subfiling updates for release #1963

Merged
merged 16 commits into from
Aug 4, 2022
Merged

Subfiling updates for release #1963

merged 16 commits into from
Aug 4, 2022

Conversation

jhendersonHDF
Copy link
Collaborator

No description provided.

[MPIO_VFD_IDX] = "mpio",
[ROS3_VFD_IDX] = "ros3",
[HDFS_VFD_IDX] = "hdfs",
[SUBFILING_VFD_IDX] = H5FD_SUBFILING_NAME,
Copy link
Member

Choose a reason for hiding this comment

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

Should we define the other names as constants as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It would probably be a good idea to keep strings in one single place and use a macro everywhere else. I don't know how many VFDs follow this pattern though. Some of them may need some tweaks.

Copy link
Member

Choose a reason for hiding this comment

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

We don't have to make all the changes here. We can have separate PRs later to address orthogonal issues like this.

/* This enum should match the entries in the above 'volnames'
* since they are indices into the 'volnames' array. */
/* This enum should match the entries in the 'volnames'
* array since they are indices into that array. */
typedef enum {
NATIVE_VOL_IDX = 0,
PASS_THROUGH_VOL_IDX,
} vol_idx;
Copy link
Member

Choose a reason for hiding this comment

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

We should probably do the same this with the VOL array that we do with the VFD array.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Agreed. Anything to make the maintainability there better.

@derobins derobins merged commit bf07e0f into develop Aug 4, 2022
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.

3 participants