-
-
Notifications
You must be signed in to change notification settings - Fork 270
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
Conversation
3d84c15
to
85a3143
Compare
[MPIO_VFD_IDX] = "mpio", | ||
[ROS3_VFD_IDX] = "ros3", | ||
[HDFS_VFD_IDX] = "hdfs", | ||
[SUBFILING_VFD_IDX] = H5FD_SUBFILING_NAME, |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
No description provided.