SIONlib  1.7.4
Scalable I/O library for parallel access to task-local files
sion_hints_linux.c
1 /****************************************************************************
2 ** SIONLIB http://www.fz-juelich.de/jsc/sionlib **
3 *****************************************************************************
4 ** Copyright (c) 2008-2019 **
5 ** Forschungszentrum Juelich, Juelich Supercomputing Centre **
6 ** **
7 ** See the file COPYRIGHT in the package base directory for details **
8 ****************************************************************************/
9 #define _XOPEN_SOURCE 700
10 
11 #include <stdlib.h>
12 #include <stdio.h>
13 #include <string.h>
14 #include <time.h>
15 #include <assert.h>
16 
17 #include <sys/types.h>
18 #include <sys/stat.h>
19 #include <fcntl.h>
20 #include <unistd.h>
21 
22 #include "sion.h"
23 #include "sion_debug.h"
24 #include "sion_internal.h"
25 #include "sion_hints_linux.h"
26 
27 
28 
37 int _sion_apply_hint_linux_access_range(int fd, long long start, long long length ) {
38  int rc = SION_SUCCESS;
39 
40  /* #NODIST# */
41  DPRINTFP((2, "_sion_apply_hint_linux_access_range", -1, "start fd=%d start=%lld length=%lld\n",
42  fd, start, length));
43 
44 
45 #ifdef SION_HINTS_LINUX
46  DPRINTFP((2, "_sion_apply_hint_linux_access_range", -1, "do apply\n"));
47 #endif
48  /* #NODIST# */
49 
50  return (rc);
51 }
52 
53