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

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

DEFINITIONS

This source file includes following definitions.
  1. ADIOI_NFS_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_nfs.h"
   9 
  10 int ADIOI_NFS_Feature(ADIO_File fd, int flag)
  11 {       
  12         switch(flag) {
  13                 case ADIO_SHARED_FP:
  14                 case ADIO_LOCKS:
  15                 case ADIO_SEQUENTIAL:
  16                 case ADIO_DATA_SIEVING_WRITES:
  17                         return 1;
  18                 case ADIO_SCALABLE_OPEN:
  19                 case ADIO_UNLINK_AFTER_CLOSE:
  20                 case ADIO_SCALABLE_RESIZE:
  21                 default:
  22                         return 0;
  23         }
  24 }

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