[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1-176-g99ecd73

Service Account noreply at mpich.org
Thu Apr 24 16:38:10 CDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".

The branch, master has been updated
       via  99ecd73f801af841dbd4d36bf0054129c5cbeff7 (commit)
      from  fdb733f39d8dec453952a31868196def05333089 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/99ecd73f801af841dbd4d36bf0054129c5cbeff7

commit 99ecd73f801af841dbd4d36bf0054129c5cbeff7
Author: Rob Latham <robl at mcs.anl.gov>
Date:   Tue Apr 15 11:06:55 2014 -0500

    Disable "create on one, open on all" for NTFS
    
    Some NTFS deployments don't like the optimization where one process
    creates a file and all processes open.  From Mark Allen: "On windows
    when multiple hosts were used, it ended up that in ad_ntfs_open.c rank 0
    used CreateFile() with OPEN_ALWAYS and everybody else used
    OPEN_EXISTING, and those ranks all saw ERROR_FILE_NOT_FOUND.  As a fix I
    added a retry loop and eventually (within 4-5 sec) the remote ranks
    would see the file."
    
    Simply have all processes create the file, as was done long long ago.
    
    Signed-off-by: Mark Allen <markalle at us.ibm.com>

diff --git a/src/mpi/romio/adio/ad_ntfs/ad_ntfs.c b/src/mpi/romio/adio/ad_ntfs/ad_ntfs.c
index ff95110..8789fc3 100644
--- a/src/mpi/romio/adio/ad_ntfs/ad_ntfs.c
+++ b/src/mpi/romio/adio/ad_ntfs/ad_ntfs.c
@@ -12,7 +12,7 @@
 
 struct ADIOI_Fns_struct ADIO_NTFS_operations = {
     ADIOI_NTFS_Open, /* Open */
-	ADIOI_GEN_OpenColl, /* OpenColl */
+    ADIOI_FAILSAFE_OpenColl, /* OpenColl */
     ADIOI_NTFS_ReadContig, /* ReadContig */
     ADIOI_NTFS_WriteContig, /* WriteContig */
     ADIOI_GEN_ReadStridedColl, /* ReadStridedColl */

-----------------------------------------------------------------------

Summary of changes:
 src/mpi/romio/adio/ad_ntfs/ad_ntfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list