/external/fio/ |
D | eta.c | 56 if (td->o.rwmix[DDIR_READ] == 100) in check_str_update() 63 if (td->o.rwmix[DDIR_READ] == 100) in check_str_update() 356 io_bytes[DDIR_READ] = io_bytes[DDIR_WRITE] = io_bytes[DDIR_TRIM] = 0; in calc_thread_status() 357 io_iops[DDIR_READ] = io_iops[DDIR_WRITE] = io_iops[DDIR_TRIM] = 0; in calc_thread_status() 373 je->t_rate[0] += td->o.rate[DDIR_READ]; in calc_thread_status() 374 je->t_iops[0] += td->o.rate_iops[DDIR_READ]; in calc_thread_status() 375 je->m_rate[0] += td->o.ratemin[DDIR_READ]; in calc_thread_status() 376 je->m_iops[0] += td->o.rate_iops_min[DDIR_READ]; in calc_thread_status() 410 for (ddir = DDIR_READ; ddir < DDIR_RWDIR_CNT; ddir++) { in calc_thread_status() 446 add_agg_sample(je->rate[DDIR_READ], DDIR_READ, 0); in calc_thread_status() [all …]
|
D | init.c | 476 if (td->o.rate[DDIR_READ] || td->o.rate_iops[DDIR_READ]) in setup_rate() 477 ret = __setup_rate(td, DDIR_READ); in setup_rate() 488 return o->min_bs[DDIR_READ] == o->max_bs[DDIR_READ] && in fixed_block_size() 491 o->min_bs[DDIR_READ] == o->min_bs[DDIR_WRITE] && in fixed_block_size() 492 o->min_bs[DDIR_READ] == o->min_bs[DDIR_TRIM]; in fixed_block_size() 555 if (!o->min_bs[DDIR_READ]) in fixup_options() 556 o->min_bs[DDIR_READ] = o->bs[DDIR_READ]; in fixup_options() 557 if (!o->max_bs[DDIR_READ]) in fixup_options() 558 o->max_bs[DDIR_READ] = o->bs[DDIR_READ]; in fixup_options() 568 o->rw_min_bs = min(o->min_bs[DDIR_READ], o->min_bs[DDIR_WRITE]); in fixup_options() [all …]
|
D | io_ddir.h | 5 DDIR_READ = 0, enumerator 55 return ddir == DDIR_READ || ddir == DDIR_WRITE || ddir == DDIR_TRIM; in ddir_rw() 68 ((arr)[DDIR_READ] + (arr)[DDIR_WRITE] + (arr)[DDIR_TRIM])
|
D | blktrace.c | 197 ipo->ddir = DDIR_READ; in store_ipo() 436 if (!ios[DDIR_READ] && !ios[DDIR_WRITE]) { in load_blktrace() 439 } else if (ios[DDIR_READ] && !ios[DDIR_WRITE]) { in load_blktrace() 441 td->o.max_bs[DDIR_READ] = rw_bs[DDIR_READ]; in load_blktrace() 442 } else if (!ios[DDIR_READ] && ios[DDIR_WRITE]) { in load_blktrace() 447 td->o.max_bs[DDIR_READ] = rw_bs[DDIR_READ]; in load_blktrace()
|
D | backend.c | 237 if (bytes_done[DDIR_READ]) in check_min_rate() 238 ret |= __check_min_rate(td, now, DDIR_READ); in check_min_rate() 435 if (time && (__should_check_rate(td, DDIR_READ) || in wait_for_completions() 532 if (io_u->ddir == DDIR_READ) { in do_verify() 537 td->io_issues[DDIR_READ]++; in do_verify() 541 io_u->ddir = DDIR_READ; in do_verify() 545 io_u->ddir = DDIR_READ; in do_verify() 672 bytes = td->io_issue_bytes[DDIR_READ] + td->io_issue_bytes[DDIR_WRITE]; in io_issue_bytes_exceeded() 676 bytes = td->io_issue_bytes[DDIR_READ]; in io_issue_bytes_exceeded() 694 bytes = td->this_io_bytes[DDIR_READ] + td->this_io_bytes[DDIR_WRITE]; in io_complete_bytes_exceeded() [all …]
|
D | stat.c | 529 if (ts->io_bytes[DDIR_READ]) in show_thread_status_normal() 530 show_ddir_status(rs, ts, DDIR_READ); in show_thread_status_normal() 689 if (ts->unified_rw_rep && ddir != DDIR_READ) in add_ddir_status_json() 796 show_ddir_status_terse(ts, rs, DDIR_READ); in show_thread_status_terse_v2() 859 show_ddir_status_terse(ts, rs, DDIR_READ); in show_thread_status_terse_v3_v4() 928 add_ddir_status_json(ts, rs, DDIR_READ, root); in show_thread_status_json() 1452 if (td_read(td) && td->io_bytes[DDIR_READ]) in __show_running_run_stats() 1453 td->ts.runtime[DDIR_READ] += rt[i]; in __show_running_run_stats() 1460 td->ts.io_bytes[DDIR_READ] = td->io_bytes[DDIR_READ]; in __show_running_run_stats() 1479 if (td_read(td) && td->io_bytes[DDIR_READ]) in __show_running_run_stats() [all …]
|
D | fio.h | 582 if (bytes_done[DDIR_READ]) in should_check_rate() 583 ret |= __should_check_rate(td, DDIR_READ); in should_check_rate() 596 max_bs = max(td->o.max_bs[DDIR_READ], td->o.max_bs[DDIR_WRITE]); in td_max_bs() 604 min_bs = min(td->o.min_bs[DDIR_READ], td->o.min_bs[DDIR_WRITE]); in td_min_bs()
|
D | io_u.c | 435 ddir = is_random ? DDIR_WRITE: DDIR_READ; in __get_next_buflen() 518 if (v <= td->o.rwmix[DDIR_READ]) in get_rand_ddir() 519 return DDIR_READ; in get_rand_ddir() 651 ddir = DDIR_READ; in get_rw_ddir() 1348 td->last_ddir != DDIR_READ) { in check_get_trim() 1373 td->last_ddir != DDIR_READ) { in check_get_verify() 1497 } else if (io_u->ddir == DDIR_READ) { in get_io_u() 1734 for (ddir = DDIR_READ; ddir < DDIR_RWDIR_CNT; ddir++) in init_icd() 1776 for (ddir = DDIR_READ; ddir < DDIR_RWDIR_CNT; ddir++) in io_u_sync_complete() 1818 for (ddir = DDIR_READ; ddir < DDIR_RWDIR_CNT; ddir++) in io_u_queued_complete()
|
D | td_error.c | 11 if (ddir == DDIR_READ) in td_error_type()
|
D | options.c | 201 ret = bssplit_ddir(&td->o, DDIR_READ, str); in str_bssplit_cb() 215 ret = bssplit_ddir(&td->o, DDIR_READ, str); in str_bssplit_cb() 382 td->o.rwmix[DDIR_READ] = *val; in str_rwmix_read_cb() 392 td->o.rwmix[DDIR_READ] = 100 - *val; in str_rwmix_write_cb() 1703 .off1 = td_var_offset(bs[DDIR_READ]), 1720 .off1 = td_var_offset(ba[DDIR_READ]), 1736 .off1 = td_var_offset(min_bs[DDIR_READ]), 1737 .off2 = td_var_offset(max_bs[DDIR_READ]), 1886 .off1 = td_var_offset(perc_rand[DDIR_READ]), 2691 .off1 = td_var_offset(rwmix[DDIR_READ]), [all …]
|
D | verify.c | 749 if (td->o.verify == VERIFY_NULL || io_u->ddir != DDIR_READ) in verify_io_u() 1125 io_u->ddir = DDIR_READ; in get_next_verify() 1552 if ((td->io_blocks[DDIR_READ] < s->depth || in verify_state_should_stop() 1553 s->numberio - td->io_blocks[DDIR_READ] > s->depth) && in verify_state_should_stop()
|
D | filesetup.c | 221 bs = td->o.max_bs[DDIR_READ]; in pre_read_file() 990 range_size = min(td->o.min_bs[DDIR_READ], td->o.min_bs[DDIR_WRITE]); in __init_rand_distribution() 1382 if (ddir == DDIR_READ) in lock_file()
|
/external/fio/engines/ |
D | sync.c | 87 if (io_u->ddir == DDIR_READ) in fio_pvsyncio_queue() 108 if (io_u->ddir == DDIR_READ) in fio_psyncio_queue() 128 if (io_u->ddir == DDIR_READ) in fio_syncio_queue() 291 if (sd->last_ddir == DDIR_READ) in fio_vsyncio_commit()
|
D | libhdfs.c | 85 if (io_u->ddir == DDIR_READ) { in fio_hdfsio_prep() 137 if (io_u->ddir == DDIR_READ) { in fio_hdfsio_queue()
|
D | guasi.c | 67 if (io_u->ddir == DDIR_READ || in fio_guasi_event() 162 if (io_u->ddir == DDIR_READ) in fio_guasi_commit()
|
D | falloc.c | 81 if (io_u->ddir == DDIR_READ) in fio_fallocate_queue()
|
D | glusterfs_sync.c | 40 if (io_u->ddir == DDIR_READ) in fio_gf_queue()
|
D | glusterfs_async.c | 109 if (io_u->ddir == DDIR_READ) in fio_gf_async_queue()
|
D | net.c | 340 (!o->listen && io_u->ddir == DDIR_READ)) { in fio_netio_prep() 657 } else if (ddir == DDIR_READ) { in __fio_netio_queue() 703 if (td_read(td) && io_u->ddir == DDIR_READ) in fio_netio_queue() 706 ret = __fio_netio_queue(td, io_u, DDIR_READ); in fio_netio_queue()
|
D | solarisaio.c | 140 if (io_u->ddir == DDIR_READ) in fio_solarisaio_queue()
|
D | posixaio.c | 178 if (io_u->ddir == DDIR_READ) in fio_posixaio_queue()
|
D | splice.c | 209 if (io_u->ddir == DDIR_READ) { in fio_spliceio_queue()
|
D | mmap.c | 174 if (io_u->ddir == DDIR_READ) in fio_mmapio_queue()
|
D | libaio.c | 72 if (io_u->ddir == DDIR_READ) in fio_libaio_prep()
|
D | binject.c | 197 if (io_u->ddir == DDIR_READ) { in fio_binject_prep()
|