[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1-137-gb912961

Service Account noreply at mpich.org
Thu Apr 3 13:11:02 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  b912961fbd620568dd0ec36515720739f0fb0be9 (commit)
      from  cc50ed51a98bf1bf5e572bf32ac11f6d173bf701 (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/b912961fbd620568dd0ec36515720739f0fb0be9

commit b912961fbd620568dd0ec36515720739f0fb0be9
Author: Rob Latham <robl at mcs.anl.gov>
Date:   Thu Apr 3 12:53:15 2014 -0500

    Bug: Inverted logic for scalable resize check
    
    if a file system supports scalable resize, we can continue to defer
    open.  I had the logic backwards and conduced the deferred open when we
    did not need to (and did not when we did).  Thanks, Paul Coffman.
    
    Signed-off-by: Paul Coffman <pkcoff at us.ibm.com>

diff --git a/src/mpi/romio/mpi-io/set_size.c b/src/mpi/romio/mpi-io/set_size.c
index e36c1f9..b5c4e93 100644
--- a/src/mpi/romio/mpi-io/set_size.c
+++ b/src/mpi/romio/mpi-io/set_size.c
@@ -78,7 +78,7 @@ int MPI_File_set_size(MPI_File fh, MPI_Offset size)
     }
     /* --END ERROR HANDLING-- */
 
-    if (ADIO_Feature(adio_fh, ADIO_SCALABLE_RESIZE)) {
+    if (!ADIO_Feature(adio_fh, ADIO_SCALABLE_RESIZE)) {
 	/* rare stupid file systems (like NFS) need to carry out resize on all
 	 * processes */
 	ADIOI_TEST_DEFERRED(adio_fh, "MPI_File_set_size", &error_code);

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

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


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list