| 1 |
/* |
| 2 |
* Copyright (C) by Argonne National Laboratory |
| 3 |
* See COPYRIGHT in top-level directory |
| 4 |
*/ |
| 5 |
|
| 6 |
#include "adio.h" |
| 7 |
#include "ad_daos.h" |
| 8 |
|
| 9 |
int ADIOI_DAOS_Feature(ADIO_File fd, int flag) |
| 10 |
{ |
| 11 |
switch (flag) { |
| 12 |
case ADIO_SCALABLE_OPEN: |
| 13 |
case ADIO_SCALABLE_RESIZE: |
| 14 |
return 1; |
| 15 |
case ADIO_TWO_PHASE: |
| 16 |
case ADIO_SHARED_FP: |
| 17 |
case ADIO_LOCKS: |
| 18 |
case ADIO_SEQUENTIAL: |
| 19 |
case ADIO_DATA_SIEVING_WRITES: |
| 20 |
case ADIO_ATOMIC_MODE: |
| 21 |
case ADIO_UNLINK_AFTER_CLOSE: |
| 22 |
default: |
| 23 |
return 0; |
| 24 |
} |
| 25 |
} |