[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.0.2-3-gf71dd6e
mysql vizuser
noreply at mpich.org
Mon Feb 4 15:43:21 CST 2013
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 f71dd6e42390021aaf91814008e7208ad3e65f64 (commit)
from 34249593d1229da56c14beaa5fb8287b70aab08e (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/f71dd6e42390021aaf91814008e7208ad3e65f64
commit f71dd6e42390021aaf91814008e7208ad3e65f64
Author: Rob Latham <robl at mcs.anl.gov>
Date: Tue Jan 22 08:33:20 2013 -0600
feature-encode NTFS quirk
NTFS does not have the POSIX "file exists until everyone closes it"
property, so introduce the feature mechanism to NTFS and let ADIO know
NTFS cannot rely on that property.
diff --git a/src/mpi/romio/adio/ad_ntfs/ad_ntfs.c b/src/mpi/romio/adio/ad_ntfs/ad_ntfs.c
index 696ba85..ff95110 100644
--- a/src/mpi/romio/adio/ad_ntfs/ad_ntfs.c
+++ b/src/mpi/romio/adio/ad_ntfs/ad_ntfs.c
@@ -34,5 +34,5 @@ struct ADIOI_Fns_struct ADIO_NTFS_operations = {
ADIOI_NTFS_Flush, /* Flush */
ADIOI_NTFS_Resize, /* Resize */
ADIOI_GEN_Delete, /* Delete */
- ADIOI_GEN_Feature /* Features */
+ ADIOI_NTFS_Feature /* Features */
};
diff --git a/src/mpi/romio/adio/ad_ntfs/ad_ntfs_feature.c b/src/mpi/romio/adio/ad_ntfs/ad_ntfs_feature.c
new file mode 100644
index 0000000..691c224
--- /dev/null
+++ b/src/mpi/romio/adio/ad_ntfs/ad_ntfs_feature.c
@@ -0,0 +1,20 @@
+#include "adio.h"
+
+int ADIOI_NTFS_Feature(ADIO_File fd, int flag)
+{
+ switch(flag) {
+ /* supported features */
+ case ADIO_LOCKS:
+ case ADIO_SHARED_FP:
+ case ADIO_ATOMIC_MODE:
+ case ADIO_DATA_SIEVING_WRITES:
+ return 1;
+ break;
+ /* unsupported features */
+ case ADIO_SCALABLE_OPEN:
+ case ADIO_UNLINK_AFTER_CLOSE:
+ default:
+ return 0;
+ break;
+ }
+}
-----------------------------------------------------------------------
Summary of changes:
src/mpi/romio/adio/ad_ntfs/ad_ntfs.c | 2 +-
.../ad_features.c => ad_ntfs/ad_ntfs_feature.c} | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
copy src/mpi/romio/adio/{common/ad_features.c => ad_ntfs/ad_ntfs_feature.c} (70%)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list