root/ompi/mca/io/romio321/romio/adio/ad_nfs/ad_nfs.c

/* [<][>][^][v][top][bottom][index][help] */
   1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
   2 /* 
   3  *
   4  *   Copyright (C) 2001 University of Chicago. 
   5  *   See COPYRIGHT notice in top-level directory.
   6  */
   7 
   8 #include "ad_nfs.h"
   9 
  10 /* adioi.h has the ADIOI_Fns_struct define */
  11 #include "adioi.h"
  12 
  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 */
  40     "NFS:",  /* fsname: just a string */
  41     ADIOI_GEN_IreadStridedColl, /* IreadStridedColl */
  42     ADIOI_GEN_IwriteStridedColl /* IwriteStridedColl */
  43 };

/* [<][>][^][v][top][bottom][index][help] */