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

use ADIOI_Type_create_hindexed_x in place of MPI_Type_indexed in case… #1

Open
wants to merge 27 commits into
base: logfs-in-romio
Choose a base branch
from

Conversation

khou2020
Copy link

@khou2020 khou2020 commented May 1, 2018

When writing large files, it is possible that the indexes in the file view exceed the size of int, resulting in overflow.
By replacing MPI_Type_indexed with ADIOI_Type_create_hindexed_x that uses MPI_Aint and MPI_Count, we can support larger files.

drieskimpe and others added 27 commits April 27, 2017 16:26
A demonstration of stackable ROMIO drivers implementing log-based i/o.
- no longer need to special-case contiguous types
- don't flush a file if it's not open
- too aggressive check for reading
- promote type sizes to match ROMIO: the 32-to-64 bit promotions from a
  few years back need to propagate to the (much older) logfs code.
- logfs does not support atomicity
- long ago we broke out open into two parts
- 'name' already implemented elsewhere:
  a while back we added a "romio_filesystem_type" hint for cases where
  someone wants a human-readable string for what file system romio
  found.  Remove this feature from logfs (since it's already there)

let's try the create-and-reopen open

now that permissions are in place, the create on one, open on all might
work better
when replaying log, logfs was using hard-coded 1mb buffer.  good for
aggregating tiny writes.  Less helpful if operations are large.
it did a poor job managing types with lb and ub markers, and I am
suspicous of its prior handling of partial types
logfs will already proces the type and put the first byte in the right
place.  I wonder if we even need this for common code, now that we use
pwrite/pread?  It's been in the view code forever.
a simple blocking version of non-blocking read.  We can come back and
re-think what non-blocking i/o means in a log-based file system.
some mixup here between etypes and bytes when computing offset
logfs was ignoring flags like EXCL and such.  use user-provided flags
when creating the file, and report an error if we are unable.
not just the logfs metadata
maybe the right way to implement shared file pointers is to drop down to
the target file system somehow.  maintaining the hidden shared file
pointer file as a logfs log is a silly idea anyway.
sometimes we do need read a write-only file (as when replaying a log)
always open an independent version of the file
Useful for debugging and for demonstrating how the logfs data structures
are stored.
the logfs write will take into account the type, but it won't know
anything about the displacement unless we update it here
…tree walk to generate file view with decreasing offset that caused ad_lustre to crash
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