AMPI #952: update ROMIO to MPICH2-1.4.1p1
[charm.git] / src / libs / ck-libs / ampi / romio / adio / ad_nfs / ad_nfs.c
blobc3f8b4ce4f04dccbb15768ef801fdce020c05cbe
1 /* -*- Mode: C; c-basic-offset:4 ; -*- */
2 /*
4 * Copyright (C) 2001 University of Chicago.
5 * See COPYRIGHT notice in top-level directory.
6 */
8 #include "ad_nfs.h"
10 /* adioi.h has the ADIOI_Fns_struct define */
11 #include "adioi.h"
13 struct ADIOI_Fns_struct ADIO_NFS_operations = {
14 ADIOI_NFS_Open, /* Open */
15 ADIOI_FAILSAFE_OpenColl, /* OpenColl */
16 ADIOI_NFS_ReadContig, /* ReadContig */
17 ADIOI_NFS_WriteContig, /* WriteContig */
18 ADIOI_GEN_ReadStridedColl, /* ReadStridedColl */
19 ADIOI_GEN_WriteStridedColl, /* WriteStridedColl */
20 ADIOI_GEN_SeekIndividual, /* SeekIndividual */
21 ADIOI_NFS_Fcntl, /* Fcntl */
22 ADIOI_GEN_SetInfo, /* SetInfo */
23 ADIOI_NFS_ReadStrided, /* ReadStrided */
24 ADIOI_NFS_WriteStrided, /* WriteStrided */
25 ADIOI_GEN_Close, /* Close */
26 /* Even with lockd running and NFS mounted 'noac', we have been unable to
27 * gaurantee correct behavior over NFS with asyncronous I/O operations */
28 ADIOI_FAKE_IreadContig, /* IreadContig */
29 ADIOI_FAKE_IwriteContig, /* IwriteContig */
30 ADIOI_NFS_ReadDone, /* ReadDone */
31 ADIOI_NFS_WriteDone, /* WriteDone */
32 ADIOI_NFS_ReadComplete, /* ReadComplete */
33 ADIOI_NFS_WriteComplete, /* WriteComplete */
34 ADIOI_GEN_IreadStrided, /* IreadStrided */
35 ADIOI_GEN_IwriteStrided, /* IwriteStrided */
36 ADIOI_GEN_Flush, /* Flush */
37 ADIOI_NFS_Resize, /* Resize */
38 ADIOI_GEN_Delete, /* Delete */
39 ADIOI_NFS_Feature, /* Features */