Commit 5e800079 authored by Rob Latham's avatar Rob Latham
Browse files

set an MPI Info key with the type of file system

Based on stat() or a user-provided prefix, the actual low-level file
system routines ROMIO uses might differ.  the info object provides a
simple portable way to report that back.
parent 56feb347
......@@ -95,6 +95,8 @@ MPI_File ADIO_Open(MPI_Comm orig_comm,
if (*error_code != MPI_SUCCESS)
goto fn_exit;
ADIOI_Info_set(fd->info, "romio_filesystem_type", fd->fns->fsname);
/* Instead of repeatedly allocating this buffer in collective read/write,
* allocating up-front might make memory management on small platforms
* (e.g. Blue Gene) more efficent */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment