Changes in benchmark/io/readv.cfa [01c6256:920dca3]
- File:
-
- 1 edited
-
benchmark/io/readv.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
benchmark/io/readv.cfa
r01c6256 r920dca3 40 40 int do_read(int fd, struct iovec * iov) { 41 41 // extern ssize_t cfa_preadv2(int, const struct iovec *, int, off_t, int, int = 0, Duration = -1`s, io_cancellation * = 0p, io_context * = 0p); 42 int sflags = 0 43 #if defined(CFA_HAVE_IOSQE_ASYNC) 44 | CFA_IO_ASYNC 45 #else 46 #warning no CFA_IO_ASYNC support 47 #endif 48 ; 42 int sflags = 0; 49 43 if(fixed_file) { 50 44 sflags |= CFA_IO_FIXED_FD1; … … 136 130 bench_usage( argv ); 137 131 fprintf( stderr, " -b, --buflen=SIZE Number of bytes to read per request\n" ); 132 fprintf( stderr, " -u, --userthread If set, cluster uses user-thread to poll I/O\n" ); 138 133 fprintf( stderr, " -s, --submitthread If set, cluster uses polling thread to submit I/O\n" ); 139 134 fprintf( stderr, " -e, --eagersubmit If set, cluster submits I/O eagerly but still aggregates submits\n" ); … … 144 139 } 145 140 } 146 147 if(params.poll_submit ) fixed_file = true;148 if(params.poll_complete) file_flags |= O_DIRECT;149 141 150 142 int lfd = open(__FILE__, file_flags);
Note:
See TracChangeset
for help on using the changeset viewer.