/external/fio/ |
io_ddir.h | 6 DDIR_WRITE = 1, 43 return ddir == DDIR_READ || ddir == DDIR_WRITE || ddir == DDIR_TRIM; 58 ((arr)[DDIR_READ] + (arr)[DDIR_WRITE] + (arr)[DDIR_TRIM])
|
eta.c | 39 else if (td->o.rwmix[DDIR_WRITE] == 100) 46 else if (td->o.rwmix[DDIR_WRITE] == 100) 165 if (td->o.rwmix[DDIR_WRITE]) 166 perc = td->o.rwmix[DDIR_WRITE]; 336 io_bytes[DDIR_READ] = io_bytes[DDIR_WRITE] = io_bytes[DDIR_TRIM] = 0; 337 io_iops[DDIR_READ] = io_iops[DDIR_WRITE] = io_iops[DDIR_TRIM] = 0; 359 je->t_rate[1] += td->o.rate[DDIR_WRITE]; 360 je->t_iops[1] += td->o.rate_iops[DDIR_WRITE]; 361 je->m_rate[1] += td->o.ratemin[DDIR_WRITE]; 362 je->m_iops[1] += td->o.rate_iops_min[DDIR_WRITE]; [all...] |
init.c | 419 if (td->o.rate[DDIR_WRITE] || td->o.rate_iops[DDIR_WRITE]) 420 ret |= __setup_rate(td, DDIR_WRITE); 430 o->min_bs[DDIR_WRITE] == o->max_bs[DDIR_WRITE] && 432 o->min_bs[DDIR_READ] == o->min_bs[DDIR_WRITE] && 505 if (!o->min_bs[DDIR_WRITE]) 506 o->min_bs[DDIR_WRITE] = o->bs[DDIR_WRITE]; 507 if (!o->max_bs[DDIR_WRITE]) [all...] |
blktrace.c | 248 ipo->ddir = DDIR_WRITE; 287 ios[DDIR_WRITE]++; 492 if (!ios[DDIR_READ] && !ios[DDIR_WRITE]) { 498 } else if (!ios[DDIR_READ] && ios[DDIR_WRITE]) { 500 td->o.max_bs[DDIR_WRITE] = rw_bs[DDIR_WRITE]; 504 td->o.max_bs[DDIR_WRITE] = rw_bs[DDIR_WRITE];
|
backend.c | 235 if (bytes_done[DDIR_WRITE]) 236 ret |= __check_min_rate(td, now, DDIR_WRITE); 512 } else if (io_u->ddir == DDIR_WRITE) { 651 bytes = td->this_io_bytes[DDIR_READ] + td->this_io_bytes[DDIR_WRITE]; 653 bytes = td->this_io_bytes[DDIR_WRITE]; 772 if (td_write(td) && io_u->ddir == DDIR_WRITE && 817 __should_check_rate(td, DDIR_WRITE) || 870 __should_check_rate(td, DDIR_WRITE) || 956 return bytes_done[DDIR_WRITE] + bytes_done[DDIR_TRIM]; 988 min_write = td->o.min_bs[DDIR_WRITE]; [all...] |
fio.h | 403 assert(!(io_u->ddir == DDIR_WRITE && !td_write(td))); 567 if (bytes_done[DDIR_WRITE]) 568 ret |= __should_check_rate(td, DDIR_WRITE); 579 max_bs = max(td->o.max_bs[DDIR_READ], td->o.max_bs[DDIR_WRITE]); 587 min_bs = min(td->o.min_bs[DDIR_READ], td->o.min_bs[DDIR_WRITE]);
|
io_u.c | 432 ddir = is_random ? DDIR_WRITE: DDIR_READ; 531 return DDIR_WRITE; 619 !(td->io_issues[DDIR_WRITE] % td->o.fsync_blocks) && 620 td->io_issues[DDIR_WRITE] && should_fsync(td)) 627 !(td->io_issues[DDIR_WRITE] % td->o.fdatasync_blocks) && 628 td->io_issues[DDIR_WRITE] && should_fsync(td)) 635 !(td->io_issues[DDIR_WRITE] % td->sync_file_range_nr) && 636 td->io_issues[DDIR_WRITE] && should_fsync(td)) 660 ddir = DDIR_WRITE; 672 if (io_u->ddir == DDIR_WRITE && (td->io_ops->flags & FIO_BARRIER) & [all...] |
stat.c | 509 if (!(ts->io_bytes[DDIR_READ] + ts->io_bytes[DDIR_WRITE] + 511 ts->total_io_u[DDIR_WRITE] + ts->total_io_u[DDIR_TRIM])) 533 if (ts->io_bytes[DDIR_WRITE]) 534 show_ddir_status(rs, ts, DDIR_WRITE); 792 show_ddir_status_terse(ts, rs, DDIR_WRITE); 855 show_ddir_status_terse(ts, rs, DDIR_WRITE); 924 add_ddir_status_json(ts, rs, DDIR_WRITE, root); [all...] |
options.c | 195 ret = bssplit_ddir(&td->o, DDIR_WRITE, odir + 1); 204 ret = bssplit_ddir(&td->o, DDIR_WRITE, op); 380 td->o.rwmix[DDIR_WRITE] = 100 - *val; 388 td->o.rwmix[DDIR_WRITE] = *val; [all...] |
iolog.c | 346 rw = DDIR_WRITE; 383 else if (rw == DDIR_WRITE) {
|
filesetup.c | 139 b = malloc(td->o.max_bs[DDIR_WRITE]); 143 bs = td->o.max_bs[DDIR_WRITE]; 995 range_size = min(td->o.min_bs[DDIR_READ], td->o.min_bs[DDIR_WRITE]);
|
/external/fio/engines/ |
falloc.c | 7 * DDIR_WRITE does fallocate(,mode = 0) : fallocate with size extension 83 else if (io_u->ddir == DDIR_WRITE)
|
guasi.c | 68 io_u->ddir == DDIR_WRITE) { 166 else if (io_u->ddir == DDIR_WRITE)
|
sync.c | 87 else if (io_u->ddir == DDIR_WRITE) 108 else if (io_u->ddir == DDIR_WRITE) 128 else if (io_u->ddir == DDIR_WRITE)
|
fusion-aw.c | 42 if (io_u->ddir != DDIR_WRITE) {
|
net.c | 243 if ((o->listen && io_u->ddir == DDIR_WRITE) || 413 if ((td->this_io_bytes[DDIR_WRITE] + io_u->xfer_buflen < 502 if (ddir == DDIR_WRITE) { 525 if (ddir == DDIR_WRITE && err == EMSGSIZE) 553 ret = __fio_netio_queue(td, io_u, DDIR_WRITE); 554 else if (td_write(td) && io_u->ddir == DDIR_WRITE)
|
e4defrag.c | 144 * changes data layout. So this function handle only DDIR_WRITE 147 if (io_u->ddir != DDIR_WRITE) {
|
mmap.c | 150 else if (io_u->ddir == DDIR_WRITE)
|
posixaio.c | 180 else if (io_u->ddir == DDIR_WRITE)
|
splice.c | 222 } else if (io_u->ddir == DDIR_WRITE)
|
libaio.c | 50 else if (io_u->ddir == DDIR_WRITE)
|
rbd.c | 244 if (io_u->ddir == DDIR_WRITE) { 251 ("rbd_aio_create_completion for DDIR_WRITE failed.\n");
|
binject.c | 200 } else if (io_u->ddir == DDIR_WRITE) {
|
sg.c | 220 } else if (io_u->ddir == DDIR_WRITE) {
|
windowsaio.c | 324 case DDIR_WRITE:
|