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

/* [<][>][^][v][top][bottom][index][help] */
   1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
   2 /* 
   3  *   ad_panfs.c
   4  *
   5  *   Copyright (C) 2001 University of Chicago.
   6  *   See COPYRIGHT notice in top-level directory.
   7  */
   8 
   9 #include "ad_panfs.h"
  10 
  11 /* adioi.h has the ADIOI_Fns_struct define */
  12 #include "adioi.h"
  13 
  14 #ifndef ROMIOCONF_H_INCLUDED
  15 #include "romioconf.h"
  16 #define ROMIOCONF_H_INCLUDED
  17 #endif
  18 
  19 
  20 struct ADIOI_Fns_struct ADIO_PANFS_operations = {
  21 #ifdef HAVE_PAN_FS_CLIENT_RAIDN_ENCODING_T
  22     ADIOI_PANFS_Open6, /* Open, using newer Panasas features */
  23 #else
  24     ADIOI_PANFS_Open,  /* open, but using Panasas5 and earlier features */
  25 #endif
  26     ADIOI_GEN_OpenColl,
  27     ADIOI_PANFS_ReadContig, /* ReadContig */
  28     ADIOI_PANFS_WriteContig, /* WriteContig */
  29     ADIOI_GEN_ReadStridedColl, /* ReadStridedColl */
  30     ADIOI_GEN_WriteStridedColl, /* WriteStridedColl */
  31     ADIOI_GEN_SeekIndividual, /* SeekIndividual */
  32     ADIOI_GEN_Fcntl, /* Fcntl */
  33     ADIOI_PANFS_SetInfo, /* SetInfo */
  34     ADIOI_GEN_ReadStrided, /* ReadStrided */
  35     ADIOI_GEN_WriteStrided, /* WriteStrided */
  36     ADIOI_GEN_Close, /* Close */
  37 #ifdef ROMIO_HAVE_WORKING_AIO
  38     ADIOI_GEN_IreadContig, /* IreadContig */
  39     ADIOI_GEN_IwriteContig, /* IwriteContig */
  40 #else
  41     ADIOI_FAKE_IreadContig, /* IreadContig */
  42     ADIOI_FAKE_IwriteContig, /* IwriteContig */
  43 #endif
  44     ADIOI_GEN_IODone, /* ReadDone */
  45     ADIOI_GEN_IODone, /* WriteDone */
  46     ADIOI_GEN_IOComplete, /* ReadComplete */
  47     ADIOI_GEN_IOComplete, /* WriteComplete */
  48     ADIOI_GEN_IreadStrided, /* IreadStrided */
  49     ADIOI_GEN_IwriteStrided, /* IwriteStrided */
  50     ADIOI_GEN_Flush, /* Flush */
  51     ADIOI_PANFS_Resize, /* Resize */
  52     ADIOI_GEN_Delete, /* Delete */
  53     ADIOI_GEN_Feature,
  54     "PANFS: Panasas PanFS",
  55     ADIOI_GEN_IreadStridedColl, /* IreadStridedColl */
  56     ADIOI_GEN_IwriteStridedColl /* IwriteStridedColl */
  57 };

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