Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Cristian Simarro
darshan
Commits
905e0ac4
Commit
905e0ac4
authored
Apr 01, 2015
by
Philip Carns
Browse files
extended comments on posix_file_runtime_ref
parent
2f7e0da1
Changes
1
Hide whitespace changes
Inline
Side-by-side
darshan-runtime/lib/darshan-posix.c
View file @
905e0ac4
...
...
@@ -138,6 +138,17 @@ struct posix_file_runtime
* available. This structure includes another hash table link, since separate
* hashes are maintained for posix_file_runtime structures and posix_file_runtime_ref
* structures.
*
* RATIONALE: In theory the fd information could be included in the
* posix_file_runtime struct rather than in a separate structure here. The
* reason we don't do that is because the same file could be opened multiple
* times by a given process with different file descriptors and thus
* simulataneously referenced using different file descriptors. This practice is
* not common, but we must support it.
*
* NOTE: there are potentially multiple posix_file_runtime_ref structures
* referring to a single posix_file_runtime structure. Most of the time there is
* only one, however.
*/
struct
posix_file_runtime_ref
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment