We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3849571 + a0ea9fb commit 92cfb04Copy full SHA for 92cfb04
ompi/mca/io/romio/romio/mpi-io/close.c
@@ -56,9 +56,9 @@ int MPI_File_close(MPI_File *fh)
56
/* POSIX semantics say a deleted file remains available until all
57
* processes close the file. But since when was NFS posix-compliant?
58
*/
59
- if (!ADIO_Feature(adio_fh, ADIO_UNLINK_AFTER_CLOSE)) {
60
- MPI_Barrier((adio_fh)->comm);
61
- }
+ /* this used to be gated by the lack of the UNLINK_AFTER_CLOSE feature,
+ * but a race condition in GPFS necessated this. See ticket #2214 */
+ MPI_Barrier((adio_fh)->comm);
62
if ((adio_fh)->shared_fp_fd != ADIO_FILE_NULL) {
63
MPI_File *fh_shared = &(adio_fh->shared_fp_fd);
64
ADIO_Close((adio_fh)->shared_fp_fd, &error_code);
0 commit comments