root/ompi/mca/io/romio321/romio/adio/ad_pvfs2/ad_pvfs2_features.c

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

DEFINITIONS

This source file includes following definitions.
  1. ADIOI_PVFS2_Feature

   1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
   2 /*
   3  *
   4  *  (C) 2008 by Argonne National Laboratory.
   5  *      See COPYRIGHT in top-level directory.
   6  */
   7 #include "adio.h"
   8 #include "ad_pvfs2.h"
   9 
  10 int ADIOI_PVFS2_Feature(ADIO_File fd, int flag)
  11 {
  12         switch(flag) {
  13                 case ADIO_SCALABLE_OPEN:
  14                 case ADIO_SCALABLE_RESIZE:
  15                         return 1;
  16                 case ADIO_SHARED_FP:
  17                 case ADIO_LOCKS:
  18                 case ADIO_SEQUENTIAL:
  19                 case ADIO_DATA_SIEVING_WRITES:
  20                 default:
  21                         return 0;
  22         }
  23 }

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